VERITAS File System 4.1 Administrator's Guide

Storage Checkpoints
File System Restore From Storage Checkpoints
Chapter 5 111
3. Delete the file MyFile.txt from your home directory.
$ cd /home/users/me
$ rm MyFile.txt
4. Go to the /home/checkpoints/mar_4/users/me directory, which contains the image of
your home directory.
$ cd /home/checkpoints/mar_4/users/me
$ ls -l
-rw-r--r-- 1 me staff 14910 Mar 4 17:09 MyFile.txt
5. Copy the file MyFile.txt to your home directory.
$ cp MyFile.txt /home/users/me
$ cd /home/users/me
$ ls -l
-rw-r--r-- 1 me staff 14910 Mar 4 18:21 MyFile.txt
Example of Restoring a File System From a Storage Checkpoint
The following example restores a file system from the Storage Checkpoint "CKPT3." The
filesets listed before the restoration show an unnamed root fileset and six Storage
Checkpoints.
Figure 5-4 Example of Restoring a File System From a Storage Checkpoint
1. Run the fsckpt_restore command:
# fsckpt_restore -l /dev/vx/dsk/dg1/vol2