7/11/2023 0 Comments Non access db password recovery![]() ![]() ![]() The FROM = clause is not used for recovery-only restores because no backup is necessary. RESTORE DATABASE *database_name* WITH RECOVERY The RESTORE syntax for a recovery-only database restore is as follows: The database is in standby mode, and you want to make the database updatable without applying another log backup. You did not recover the database when restoring the last backup in a restore sequence, and you now want to recover the database to bring it online. Recovery-Only Database RestoreĪ recovery-only database restore can be useful in the following situations: ![]() When offline data is already consistent with the database and needs only to be made available, a recovery-only restore operation completes the recovery of the database and bring the data online.Ī recovery-only restore can occur for a whole database or for one or more a files or filegroups. This is referred to as a recovery-only restore. However, a restore operation can recover a database without actually restoring a backup for example, when recovering a read-only file that is consistent with the database. Usually, all of the data in a SQL Server database is restored before the database is recovered. Applies to: SQL Server (all supported versions)
0 Comments
Leave a Reply. |