Examples of external restore commands
The following table contains examples of external restore
commands.
External restore command | Action | Comments |
---|---|---|
onbar -r -e | Complete external restore | In a cold restore, restores everything. In a warm restore, restores all down noncritical storage spaces. |
onbar -r -e -p onbar -r -l |
Physical external restore and separate logical restore | If the external backups come from different times, you must perform a logical restore. The system restores the logical logs from the oldest external backup. |
onbar -r -e dbspace_list | External restore of selected storage spaces and logical logs | Use this command in a warm external restore only. |
onbar -r -e -p dbspace_list onbar -r -l |
External restore of selected storage spaces and separate logical restore | Use this command in a warm external restore only. |
onbar -r -e -t datetime | External point-in-time (cold) restore | Be sure to select a collection of backups from before the specified time. |
onbar -r -e rename -p old_path -o old_offset-n new_path -o new_offset | External (cold) restore with renamed chunks | Use this command to rename chunks in cold external restore only. |
onbar -r -e -w onbar -r -e -p -w |
Whole-system external restore | When you use onbar -r -e -w -p, back up all storage spaces in one block and unblock session. That way, all storage spaces have the same checkpoint. |