Jump to content

Configuration Backup Failed


Recommended Posts

Posted

This has been going on for a few months now, and is not urgent, just odd. Every 2-3days the emby server backup fails, with the following message. 

Quote

Cannot create '\\TRUENAS\Configs\Emby Backup - 2022-01-05 00.9.57 - Auto\users\Theatre' because a file or directory with the same name already exists.
at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
at System.IO.Directory.CreateDirectory(String path)
at Emby.Server.Implementations.IO.ManagedFileSystem.CreateDirectory(String path)
at MBBackup.ServerEntryPoint.CopyAllFiles(String sourceDir, String targetDir, Boolean recursive)
at MBBackup.ServerEntryPoint.ExecuteBackup(BackupProfile settings, CancellationToken cancellationToken, IProgress`1 progress, Boolean isAuto)
at MBBackup.Entities.ScheduledBackupTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

This is a W10 Server, saving the configs to a SMB share on Truenas Scale. It worked fine for a while, then started throwing errors every other day, even though said folder looks fine to me. As in the backups are there and look just like the ones with no errors during creation. 

embyserver.txt

Posted

Hi, instead of using SMB paths, what you could try is mounting those network paths to a local path in the OS, and then use the local path within Emby. That may give you better results.

Posted

Ok I mapped the drive, and it IS better, about 5 days between tripping over itself now. 

I think I better just store them locally. 

Posted

Thanks for the feedback.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...