Backup and restore operations are not allowed on database tempdb.

Error Message:
Msg 3147, Level 16, State 3, Line 1
Backup and restore operations are not allowed on database tempdb.

Severity level:
16.

Description:
This error message appears when you try to backup or restore the tempdb database.

Consequences:
The T-SQL statement can be parsed, but causes the error at runtime.

Resolution:
Errors of the Severity Level 16 are generated by the user and can be fixed by the SQL Server user. The statement cannot be executed this way. You cannot backup or restore the tempdb database.

Versions:
All versions of SQL Server.

Example(s):
BACKUP DATABASE tempdb TO DISK = ‘D:tempdb.bak’;

Remarks:
In the above example we try to backup the tempdb database. This raises the error.




Array

No comments yet... Be the first to leave a reply!