I was trying to backup my WSS 3.0 farm when I encountered this error:
Object SharePoint_Config failed in event OnBackup. For more information, see the error log located in the backup directory. SqlException: Cannot open backup device '\\servername\backup\spbr0001\0000001.bak'. Operating system error 5(Access is denied)
I guessed this would be because of permissions with the backup folder. I had created a shared folder in my server where WSS was installed. I had given Share and security permission "Change/Modify" for the Network Service user. But that did not work. I followed these steps and it solved my issue:
1. Set the SQL Server (MSSQLSERVER) Windows service to run as a domain account and restarted the service and IIS.
2. Granted "change" Share permissions on the backup folder for the user that runs the Central Admin application pool, db SQL account, and WSS Timer service.
3. Granted "Modify" Security permission on the backup folder for the user that runs the Central Admin application pool, db SQL account, and WSS Timer service.
4. Checked if I could access the Shared backup folder
Object SharePoint_Config failed in event OnBackup. For more information, see the error log located in the backup directory. SqlException: Cannot open backup device '\\servername\backup\spbr0001\0000001.bak'. Operating system error 5(Access is denied)
I guessed this would be because of permissions with the backup folder. I had created a shared folder in my server where WSS was installed. I had given Share and security permission "Change/Modify" for the Network Service user. But that did not work. I followed these steps and it solved my issue:
1. Set the SQL Server (MSSQLSERVER) Windows service to run as a domain account and restarted the service and IIS.
2. Granted "change" Share permissions on the backup folder for the user that runs the Central Admin application pool, db SQL account, and WSS Timer service.
3. Granted "Modify" Security permission on the backup folder for the user that runs the Central Admin application pool, db SQL account, and WSS Timer service.
4. Checked if I could access the Shared backup folder
Comments
Do one thing see the Service Account of SQL Server Service.
And grant rights on the sharedfolder where you wanna backup your SP Farm or Objects.
Whenever this normally found when SP Back Service request the SQL Service for DB Backup. SQL Service backup itselft the specified DBs in SP Backup.
This may be valid for different others services as well.
Thanks :)