Appearance
Running Incremental Restores
This section lays out the steps and requirements for making use of incremental restore operations. Incremental restores reduce the time and resources required to maintain an up-to-date copy of a database that was originally created from a full restore.
Follow these steps:
Back up the source database with at least one full backup.
Restore the database with the same name on a separate DR appliance or with a different name on the same source appliance. Do not set
--hot-standby off
in theybrestore
command.Leave the restored database in
HOT_STANDBY
state, which is the default state for a restore operation. Do not set the restored database toREADONLY
or setHOT_STANDBY
toOFF
.Continue backing up the source database on a regular schedule, using cumulative or incremental backups. Keep track of the backup history by using the
ybbackupctl --list
command or running queries on thesys.log_backup
view.Periodically run incremental restores on the restored database. Make sure you specify the correct settings for the following options:
--point
: equivalent to the backup name in theybbackup
command--chain
: the backup chain for the source database
The ybrestore
command checks the restore point and only applies changes as needed.
Parent topic:ybrestore Commands