Jump to content
Sign in to follow this  
Yordi De Rijcke

Removing old backup files access denied

Recommended Posts

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

 

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:
afbeelding.png.f58f0ffb285602818ed4bc4125ae5b99.png

Any help would be greatly appreciated.

Thanks in advance, Yordi.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...