Backup or Restore SQL Server Database to another server.
2005-06-22 14:51
761 查看
When you try to backup or restore your database to another network server in the SQL Server Enterprise Manager, you will get following error:
Cannot open backup device "\\networkserver\c$\xx.bak". Device error or device off-line. See the SQL Server error log for more details.
BACKUP DATABASE is terminating abnormally.
How could it have happened? The reason is the MSSQLSERVER service is running under the Localsystem account, and the Localsystem account have no access to the network server as it isn't an authenticated network account. so if you want to dump the database onto another server or a UNC path, you can change the account the MSSQLSERVER service runs under to an account with the relevant network rights.
Remember to restart the MSSQLSERVER service to make your change takes effect.
Hope this helps
Cannot open backup device "\\networkserver\c$\xx.bak". Device error or device off-line. See the SQL Server error log for more details.
BACKUP DATABASE is terminating abnormally.
How could it have happened? The reason is the MSSQLSERVER service is running under the Localsystem account, and the Localsystem account have no access to the network server as it isn't an authenticated network account. so if you want to dump the database onto another server or a UNC path, you can change the account the MSSQLSERVER service runs under to an account with the relevant network rights.
Remember to restart the MSSQLSERVER service to make your change takes effect.
Hope this helps
相关文章推荐
- [SQL Server][FILESTREAM] -- How to Backup and Restore a SQL Server FILESTREAM Enabled Database
- How to backup and restore database in SQL Server
- add login,create,backup,restore database to Sql Server using SMO
- Transfer postgres database to another server - backup and restore
- Restore Oracle database to another server
- Copy a table from one database to another in SQL Server 2005
- SQL Server has encountered 1 occurrence(s) of cachestore flush for the 'Object Plans' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.
- backup and restore database on Microsoft SQL Server 2005
- Connecting to databases like Mysql, SQL Server or Oracle on J2ME devices
- SQL Server Database Backup and Restore in C#
- Validation failed for one or more entities while saving changes to SQL Server Database
- SQLBackupAndFTP The server principal "NT AUTHORITY\SYSTEM" is not able to access the database "xxxx"
- RESTORE DATABASE is terminating abnormally. (Microsoft SQL Server, Error: 3154)
- HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]
- Error message when you try to install a SQL Server 2005 service pack or a SQL Server 2005 hotfix package: "Error 29528. The setup has encountered an unexpected error while Setting Internal Properties"
- createdb: could not connect to database postgres: could not connect to server: No such file or directory
- How to recover a SQL Server Database
- 异机恢复 RMAN-06023: no backup or copy of datafile 17 found to restore
- SQL SERVER BACKUP DATABASE 加快备份速度方法
- Designing Data Storage Architecture- How to Sync Large SQL Server Databases to SQL Azure