OS Name/Version:Windows 11 Pro
Product Name/Version: 2.6.1.6 - 20250417.2
Problem Description:Automated/Manual backups not working when server is on
[19:45:56] [FileBackup:poopy Error/57] : Unable to add E:\AMPDatastore\Instances\Vanillaserver01\Minecraft\world\region\r.-1.-1.mca to backup archive. Failing backup...
[19:45:56] [Core:poopy Debug/57] : IOException
[19:45:56] [Core:poopy Debug/57] : [0] (IOException) : The process cannot access the file 'E:\AMPDatastore\Instances\Vanillaserver01\Minecraft\world\region\r.-1.-1.mca' because it is being used by another process.
[19:45:56] [Core:poopy Debug/57] : at Microsoft.Platform.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Platform.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at IO.FileInfo.OpenRead()
at LocalFileBackupPlugin.BackupProvider.DoTakeBackup(BackupManifest manifest, RunningTask task, Boolean local, Boolean s3)
[19:45:56] [FileBackup:poopy Error/57] : Error writing backup: System.IO.IOException: The process cannot access the file 'E:\AMPDatastore\Instances\Vanillaserver01\Backups\20250423-194554-c80eb354f6f24894b61c6e82d7d2f115.zip' because it is being used by another process.
at System.IO.FileSystem.DeleteFile(String fullPath)
at LocalFileBackupPlugin.BackupProvider.DoTakeBackup(BackupManifest manifest, RunningTask task, Boolean local, Boolean s3)
Steps to reproduce:
- Schedule Backup from a trigger
- Take manual backup
- Stopping server allows manual backup to occur
Actions taken to resolve so far:
Changed backup size limits and settings
Changed auto backup times
Changed backup values in scheduler
Restarted Server, Amp, and machine
Changed logging level to 0 for debug
Captured full backup error message
Unable to complete backups while server is active, did work in the past