SQL Server Backup Types
SQL Server Backup Types
1. FULL BACKUP
2. DIFF BACKUP
3. TRANSACTION LOG BACKUP
4. COPY ONLY BACKUP
5. FILE OF FILE GROUP BACKUP
6. STRIPED BACKUP
7. MIRRORED BACKUP
8. TAIL LOG BACKUP
9. PARTIAL BACKUP
1. FULL BACKUP:-
A full backup contains a copy of the entire database including used data pages and the log files written
during the backup.
A full backup doesn’t truncate the transaction log.
In other words, you cannot restore a differential backup or a transaction log backup without a full backup.
Step 7. Select the required folder for the backup file and enter the file name with a .bak extension
Use AM_BILLING;
GO
2.DIFFERENTIAL BACKUP:-
A differential backup contains only data that has been modified since the last full backup. Apart from this, a
differential backup is identical to a full backup.
i. Its contain all changes data and schema both .
ii. Its generates fastly.as compare to full backup.
Step 4. Select Differential as Backup Type, select Disk as the destination, and then click on
Add button to add the directory where the backup will be stored on your disk.
Step 5. Select the Remove button
Step 6. Click on Add button to select the destination and name for the database backup file
Step 7. Select the required folder for the backup file and enter the file name with a .diff extension
Use AM_BILLING;
GO
A copy only backup is a SQL Server backup that is independent of the sequence of conventional
SQL Server backups. Usually, taking a backup changes the database and affects how later backups
are restored.
However, occasionally, it is useful to take a backup for a special purpose without affecting the
overall backup and restore procedures for the database. Copy-only backups serve this purpose.
1. Launch SQL Server Management Studio (SSMS) and connect to your instance.
2. Right-click the database name you want to back up, select Tasks > Back Up…
3. In the pop-up window, select the Backup type (Full or Transaction Log. You cannot create a copy-only
differential backup).
The one advantage of using filegroup backups over file backups is that you can create a Read-Only filegroup
which means the data will not change. So instead of backing up the entire database all of the time you can
just backup the Read-Write filegroups.
A file group backup is beneficially when database have a read-write or read-only file groups.
A striped backup is simple a backup of your database that is spread across multiple files. Just like a database
can exist in multiple .mdf and .ndf files, a striped backup places some of your backup data in one file, and
some in another.
The idea behind is that you can backup to multiple locations and increase the protection level by having
additional copies of the backup set. In case one of the copies gets lost or corrupted, you can use the
mirrored copy to perform a restore.