SqlBak Blog

SQL Server differential backup: fast guide

One of the types of backup in MSSQL is the “differential” backup. This article will cover what differential (diff) backups are, how to create and restore them, as well as their specific features and best practices.

What is differential backup in SQL Server?

Differential backups are backups that do not contain all the data but only the changes made since the last full database backup. When you perform an INSERT or UPDATE operation on a record in a table, it does not change the entire database file but only a small portion of it. It is precisely these small changes that are captured in a differential backup.

Read more

Third party backup tools for SQL Server

In this article, we will review software designed for backing up SQL Server. Each tool has its own features and can be useful depending on the size of your architecture, availability of qualified specialists, financial resources and other factors. Free tools SQL Server Management Studio + SQL Server Agent The main tool for working with … Read more

Automating MSSQL backup tasks: how to schedule SQL server backups

Scheduling SQL Server backups can be done in various ways, including using SQL Server Agent, PowerShell, third-party tools or through scripts with Windows Scheduler. This article will explore different methods for scheduling MSSQL backups in more detail, as well as best practices for timing and frequency of scheduled backups. Tools for automating backups Scheduled automatic … Read more

How to enable script execution in SqlBak

Script execution restrictions in SqlBak When performing backup or maintenance tasks in SqlBak, you may encounter errors indicating that script execution has been disabled due to security policies: [SEC:1450#0] – Windows batch scripts are disabled by security policy. or #[SEC:1450#1] – SQL scripts are disabled by security policy. These errors occur when the execution of … Read more

To backup or not to backup: SQL Server’s master, msdb and model

In addition to the user databases that a SQL Server administrator can create, there are also system databases. The primary ones visible in Object Explorer are master, msdb, model and tempdb. All these databases, except for tempdb, support backup operations. In this article, we’ll discuss whether these databases need to be backed up, and if … Read more

Complete guide to restoring SQL databases from BAK files in SQL Server

Restoring SQL Server databases from backup files is an important task for database administrators. In this article, we will discuss what backup files are and how to load a BAK file into SQL Server.

What are BAK files in SQL Server?

BAK files are files created by SQL Server, with the file extension .bak, that contain one or more backups of SQL Server databases. They are designed to restore databases to the state they were in at the time the backup was created.

These files are a physical copy of the data from the database files (.mdf и .ldf) and are not intended to be viewed directly in a text editor.

Importing a BAK file in SQL Server involves restoring a database. You can restore databases from these files using T-SQL commands, graphical utilities such as SQL Server Management Studio or SQLBackupAndFTP, as well as from the command line.

There are several graphical user interface tools available.

Read more