In this blog we are going to understand SQL backup , restore and scripts.
- A copy of sql server data that can be used to restore and recover the data after a failure.
- backup of a database can also be used to restore a copy the database to a new location.
- The backup copies the data or log records from database to device such as disc.
There are three main types of backup:
- Full backup stores a full copy of a specific database at the point in time that the backup completed.
- It contains all the data in a specific database or set of filegroups.
- This backup copy of all data to a storage device, such as a disk or tape.
- a copy of all data changes from the last full backup to the current point in time
- It is the backup of transaction logs that have all log records that are not backed up in previous log backup.
SQL Restore :
- The restore is a process of restoring or recovering data from backup.
SQL Scripts :
- We can create or generate scripts for transferring database between instances.
- SQL script is a set of SQL commands which are stored as a file in SQL scripts.







