Veritas™ File System 5.0.1 Administrator's Guide
To restore a file from a Storage Checkpoint
1
Create the Storage Checkpoint CKPT1 of /home.
$ fckptadm create CKPT1 /home
2
Mount Storage Checkpoint CKPT1 on the directory /home/checkpoints/mar_4.
$ mount -F vxfs -o ckpt=CKPT1 /dev/vx/dsk/dg1/vol- \
01:CKPT1 /home/checkpoints/mar_4
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
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.
U
N
A
M
E
D
C
K
P
T
6
C
K
P
T
5
C
K
P
T
4
C
K
P
T
3
C
K
P
T
1
C
K
P
T
2
103Storage Checkpoints
Restoring a file system from a Storage Checkpoint