Why SqlBak is better than Microsoft SQL Server Backup to Microsoft Azure Tool?

If you use Azure Storage to keep your SQLServer backups then you are probably already aware of “Microsoft SQL Server Backup to Microsoft Azure Tool” that allows you to send your backups there. In this post, we will show how it works and why SqlBak does the same thing in a more convenient way.

Continue reading Why SqlBak is better than Microsoft SQL Server Backup to Microsoft Azure Tool?

Sql Server backup format: BAK vs SQB

SqlBak creates backups in so-called .bak format, while RedGate’s product stores backups in .sqb format. What’s the difference?

Usually, database backup files with .bak extension contain data in the standard Microsoft Tape Format (MTF)  used by  Microsoft itself as well as many backup tools for the Microsoft Windows platform. Many third-party SQL Server backup products including SqlBak and SqlBackupAndFtp produce backups in this format as well.

Files with .sqb extension contain backups in RedGate’s proprietary format. You would need to use some special utilities if you want it to be converted into MTF. Let’s learn more about Microsoft Tape Format (MTF) and SQL Backup format from Red Gate.

Continue reading Sql Server backup format: BAK vs SQB

Msg 3201, Level 16 Cannot open backup device. Operating system error 5(Access is denied.)

Below you can find the solution of the following SQL Server error message:

Msg 3201, Level 16 Cannot open backup device. Operating system error 5(Access is denied.)

Probably you face this error when you try to make SQL Server database backup. It has to be admitted that this error message belongs  to the permissions issue on the local disk and user account which is running SQL Server. Continue reading Msg 3201, Level 16 Cannot open backup device. Operating system error 5(Access is denied.)

The log or differential backup cannot be restored because no files are ready to rollforward

Working with SQL Server sometimes you have to restore your database and sooner or later during the restoration process you can receive the following error message:

Msg 3117, Level 16, State 1, Line 1
The log or differential backup cannot be restored because no files are ready to roll forward.
Msg 3013, Level 16, State 1, Line 1
RESTORE LOG is terminating abnormally.

Continue reading The log or differential backup cannot be restored because no files are ready to rollforward

This differential backup cannot be restored because the database has not been restored to the correct earlier state

In this article, we are going to discuss how to solve the error which can occur during the restoration of a differential backup. Here is the error message:

Msg 3136, Level 16, State 1, Line 1
This differential backup cannot be restored because the database has not been restored to the correct earlier state.
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.

Continue reading This differential backup cannot be restored because the database has not been restored to the correct earlier state

Failed to update database because the database is read-only

Here we are going to discuss how to solve the error message “Failed to update database because the database is read-only” that you can face with working with SQL Server. Below the complete text of this error:

Msg 3906, Level 16, State 1, Line 10
Failed to update database "MyData" because the database is read-only.

Of course, experience DBA can say that your database is read-only and you don’t have any way to write into it. All you need is simply mark the database as read-write. That’s it. But still, we are going to show you, how you can solve this issue using simple T-SQL Commands or SQL Server Management Studio . Continue reading Failed to update database because the database is read-only

Cannot bulk load because the file could not be opened. Operating system error code 5 (Access is denied.)

In this blog post, we are going to discuss how to solve the following error “Cannot bulk load because the file could not be opened. Operating system error code 5 (Access is denied.)”. Below you will find the reason why this error happened and the way to solve it. Continue reading Cannot bulk load because the file could not be opened. Operating system error code 5 (Access is denied.)