Jump to content

Removing old backup files access denied

Yordi De Rijcke

Recommended Posts

When the amount of backups exceeds the configured limit, i get the following error during the next backup (build 8900):


I have the required permissions on the shared directory where the files should be deleted, the backups themselves work fine but the automatic removing of old backups doesn't work.

These are the backup files located in the directory:

Any help would be greatly appreciated.

Thanks in advance, Yordi.

Link to comment
Share on other sites

Whilst trying to manually remove the .bak files i figured it out, the .bak files are placed in the backup location by the service account running the SQL database, in my case this is a different service account than the service account for running the backups. This caused a permission issue when deleting the files, adding delete permissions (see advanced NTFS permissions) on the SMB share solved the issue.

Link to comment
Share on other sites

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...