![]() |
< Previous | Next > |
Product: Storage Foundation for Oracle RAC Guides | |
Manual: Storage Foundation 4.1 for Oracle RAC Installation and Configuration |
Backing Up and Recovering the Database Using Storage CheckpointsStorage Checkpoints can be created by specifying one of the following options: online, offline, or instant. To create a Storage Checkpoint with the online option, the database should be online and you must enable ARCHIVELOG mode for the database. During the creation of the Storage Checkpoint, the tablespaces are placed in backup mode. Because it only takes a few seconds to take a Storage Checkpoint, the extra redo logs generated while the tablespaces are in online-backup mode are very small. You can roll back the entire database or individual tablespaces or datafiles to an online or offline Storage Checkpoint. After the rollback is complete, rolling the database forward is supported with online Storage Checkpoints. For the instant option, the database should be online and it can be running in either ARCHIVELOG or NOARCHIVELOG mode. You can only roll back the entire database to an instant Storage Checkpoint. After the rollback is complete, you need to perform Oracle database storage rollback instance recovery. Rolling the database forward is not supported; that is, you cannot apply archived redo logs. ![]() Since the Storage Checkpoints record the before images of blocks that have changed, you can use them to do a disk-based or file-system-based storage rollback to the exact time when the Storage Checkpoint was taken. You can consider Storage Checkpoints as backups that are online, and you can use them to roll back an entire database tablespace, or a single database file. Rolling back to or restoring from any Storage Checkpoint is generally very fast because only the changed data blocks need to be restored. ![]() Storage Checkpoints can only be used to restore from logical errors (for example, a human error). Because all the data blocks are on the same physical device, Storage Checkpoints cannot be used to restore files due to a media failure. A media failure requires a database restore from a tape backup or a copy of the database files kept on a separate medium. The combination of data redundancy (disk mirroring) and Storage Checkpoints is recommended for highly critical data to protect them from both physical media failure and logical errors. Backing Up Using the Command LineYou can back up a database by creating a Storage Checkpoint using the sfrac_ckptcreate command, mounting the Storage Checkpoint as read-only using the sfrac_ckptmount command, and then backing it up using tools such as tar or cpio. Usage Notes
![]()
|
^ Return to Top | < Previous | Next > |
Product: Storage Foundation for Oracle RAC Guides | |
Manual: Storage Foundation 4.1 for Oracle RAC Installation and Configuration | |
VERITAS Software Corporation
www.veritas.com |