Database backup is a very important activity in day to day activities. Backup's will be taken for safety purposes. Considering a server got crashed, In that case we can restore the backup taken. To take backup of the database, right click on the database and goto tasks -> backup
Backup database window will pop-ups. Two types of backups will be displayed in the drop down list.
1. Full Backup - This backup type will take the entire database backup.
2. Differential Backup - This backup type will take the last difference of data between now and the last backup taken.
In addition to that, we can take the file or file group backup too.
To avoid more backups to occupy the disk space, we can set an options like when these backup's will expire. This enable us to identify the invalid backups.Now, our next option is to select the location of the backup + backup name.
Backup failed for Server 'VENKAT\SQLEXPRESS1'. (Microsoft.SqlServer.Express.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Backup+Server&LinkId=20476
------------------------------ADDITIONAL INFORMATION:
System.Data.SqlClient.SqlError: Cannot open backup device 'C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Backup\aa.bak'. Operating system error 5(error not found). (Microsoft.SqlServer.Express.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&LinkId=20476
------------------------------BUTTONS:
OK------------------------------
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
On analysing the above issue, the reason behind is -> Access issue. The SQL server service doesn't have proper access to write a backup file in the specified location. I have given full access to the sql server user to the path and tried the backup option. OOPS, my guess is correct and its working fine.
2 comments:
Hi! I have the same issue but trying to mske bsckup on tape?
what can I do?
please answwer to thid email
finamer@yahoo.com
regards;
Try SQLBackupAndFTP - it does backup, encryption, zip, ftp, email confirmations. Seems much easier than custom scripts.
Post a Comment