Pro | Contra | |
---|---|---|
Offline |
|
|
Online |
|
|
Offline Revert
Offline Revert can revert both user and system databases, as well as multiple databases at the same time.
During the revert, the instance and databases on the instance will be offline, making them inaccessible for users. An offline revert will detach the user database(s) which are part of the backup and revert the data on disk. For backups containing only user databases, Protector can then attach selected databases.
Reverting System databases
System databases capture the configuration of the instance. Reverting them will change the configuration of the instance to what it was at the point in time of the backup. This includes user accounts, permissions, and the list of attached databases. As a result, user databases reverted together with system databases may be attached after the revert.
Backup content | Disk | Instance | Reverted database(s) | Other database(s) |
---|---|---|---|---|
User database(s) | reverted | online | Depends on user selection. Options are:
|
Unchanged. Same as before the revert. |
System database(s) | reverted | online | online | Depends on the state that is captured in the system database(s) at time of block-based backup. |
Mix of system and user databases | reverted | online | System databases will be online. State of user databases depends on the state that is captured in the system databases at time of block-based backup. | Depends on the state that is captured in the system database(s) at time of block-based backup. |
Online Revert
When performing an online revert, the instance as well as other databases will remain online and accessible to the user.
In addition, the user can choose if Microsoft SQL server should recover the database automatically to the point in time captured by the backup or if the user wants to apply transaction logs.
These benefits come with the additional restriction that the backup and the disks may only contain a single user database. When using online revert for multiple databases, each database must have its own set of disks. Furthermore, the databases must be backed up and reverted individually.
Reverting Clustered SQL Server instances
Protector supports reverting databases for instances using traditional clustered disks. It is not possible to revert Cluster Shared Volumes (CSV)
Prerequisites for reverting Microsoft SQL Server block-based backups
- A block-based backup of a Microsoft SQL Server is available.
- The backup must not be a backup from an Availability Group.
- Credentials for the SQL Server instance are available. Please refer to Microsoft SQL Server User Privileges for more details.
- The SQL Server node which was used to create the backup is available and online.
- All nodes of the target instance are up and running. Note: Reverting Microsoft SQL Server Availability Group backups is not supported.
Force Revert
Protector will not perform reverts in case it detects an enhanced data loss potential. If, for example, the snapshot contains multiple databases and only a single database was selected for backup, a regular revert will not be possible. Reverting the backup will revert the complete disk, which will not only affect the database selected for backup but the other databases sharing the same disks as well.