Minecraft Backup Sometimes Fails

  • Last Post 20 July 2017
  • Topic Is Solved
x3773 posted this 20 July 2017

I have a backup scheduled to run ever 30mins on a McMyAdmin instance, however it will randomly fail with a backup error.

[22:00:00] [LocalFileBackupPlugin:Core Info] : Creating Backup: Scheduled Backup
[22:00:00] [LocalFileBackupPlugin:Core Debug] : Building file list...
[22:00:00] [LocalFileBackupPlugin:Core Debug] : File list built: 464 files totaling 292MB
[22:00:00] [LocalFileBackupPlugin:Core Debug] : Checking cycling requirements...
[22:00:00] [LocalFileBackupPlugin:Core Debug] : Adding files to archive...
[22:00:00] [LocalFileBackupPlugin:Core Debug] : Saving archive...
[22:00:00] [LocalFileBackupPlugin:Core Debug] : Error writing backup: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at ModuleShared.Utilities.GetFriendlyFileSize(Double input)
   at LocalFileBackupPlugin.BackupProvider.<>c__DisplayClass32_0.<takebackup>b__2(Object sender, SaveProgressEventArgs e)
   at Ionic.Zip.ZipFile.OnSaveBlock(ZipEntry entry, Int64 bytesXferred, Int64 totalBytesToXfer)
   at Ionic.Zip.ZipEntry._WriteEntryData(Stream s)
   at Ionic.Zip.ZipEntry.Write(Stream s)
   at Ionic.Zip.ZipFile.Save()
   at LocalFileBackupPlugin.BackupProvider.TakeBackup(BackupManifest manifest)

AMP Version: v1.4.7.2, built 2017-05-24 12:05

Backup settings:

  • Backup Space Limit: 22480
  • Backup Count Limit: 48
  • Backup Replacement Policy: Keep Deleting

Mike posted this 20 July 2017

Looks like it's failing if the backup exceeds a certain size. Minor bug that's fixed for the next release.