Veritas File System v5.0.1 Administrator's Guide for HP-UX 11i v3 (5900-0082, June 2010)
■ Remove the oldest Storage Checkpoint first.
Restoring from a Storage Checkpoint
Mountable data Storage Checkpoints on a consistent and undamaged file system
can be used by backup and restore applications to restore either individual files
or an entire file system. Restoration from Storage Checkpoints can also help
recover incorrectly modified files, but typically cannot recover from hardware
damage or other file system integrity problems.
Note: For hardware or other integrity problems, Storage Checkpoints must be
supplemented by backups from other media.
Files can be restored by copying the entire file from a mounted Storage Checkpoint
back to the primary fileset. To restore an entire file system, you can designate a
mountable data Storage Checkpoint as the primary fileset using the
fsckpt_restore command.
See the fsckpt_restore(1M) manual page.
When using the fsckpt_restore command to restore a file system from a Storage
Checkpoint, all changes made to that file system after that Storage Checkpoint's
creation date are permanently lost. The only Storage Checkpoints and data
preserved are those that were created at the same time, or before, the selected
Storage Checkpoint's creation. The file system cannot be mounted at the time
that fsckpt_restore is invoked.
Note: Individual files can also be restored very efficiently by applications using
the fsckpt_fbmap(3) library function to restore only modified portions of a files
data.
Restoring a file from a Storage Checkpoint
The following example restores a file, MyFile.txt, which resides in your home
directory, from the Storage Checkpoint CKPT1 to the device
/dev/vx/dsk/dg1/vol-01. The mount point for the device is /home.
103Storage Checkpoints
Restoring from a Storage Checkpoint