SMB Manual backups work fine, but scheduled backups fail

Status
Not open for further replies.

Alex@Heart

Bronze Partner
Advanced Certified
Joined
Jun 7, 2019
Messages
2
Reaction score
0
Hi Guys,

I wonder if any body can help me with this one. We have a customer who is backing up their config to a network share on their domain. They can take manual back ups without a problem but scheduled backups have never worked. The domain account 3CX is using has full permission over the location it is trying to put the backup. Here is the error I get;

Your 3CX backup failed due to the following reason(s):

System.IO.FileNotFoundException: Unable to find the specified file.

at _3cxFilesystemImplementations.Samba.Smb2FileSystem.Move(String filename1, String filename2)

at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)

Any ideas?
 
Since you are only having issues with scheduled backups and not manual backups it leads me to believe that this may be a file permission issue. Scheduled backups work slightly differently than manual backups in that they rename already existing files as well, meaning the user must also have modify permissions.

For the time being, I'd recommend providing the SMB user with Full control and then test it again so that we can at least confirm or eliminate the possibility of this issue being related to file permissions.

Let us know what happens.
 
Status
Not open for further replies.