0

I am running a script I run on all my SQL servers however on this specific server I have run into the problem where the script fails to make a copy of the DB backups in an external location because the script gets access denied on the newly created local database backups.

For whatever reason, the backups do no inherit NTFS permissions and use the permissions associated with the database.

ZZ9
  • 888
  • 3
  • 16
  • 47

1 Answers1

1

What is the login account that is running the script? You have to make sure that the login running the script, whether it is SQL Agent account or some other account has write permissions on the folder where you are copying the files to.