![]() |
![]() |
![]() |
![]() |
![]() |
fsckpt_restore - VxFS Storage Checkpoint file system restoration utility
fsckpt_restore [ -n | -y ] [ -l ] device_name [ ckpt_name ]
fsckpt_restore restores a VxFS file system on the block device device_name from one of its Storage Checkpoints ckpt_name. fsckpt_restore can operate interactively in a non-interactive mode depending on whether the -y or -n option is specified.
device_name specifies the block device on which the file system resides.
ckpt_name specifies the name of the Storage Checkpoint from which to restore the file system. If no Storage Checkpoint name is specified, fsckpt_restore lists the Storage Checkpoints found, and in interactive mode, prompts for selection and confirmation of a Storage Checkpoint from which to restore the file system.
After restoring a Storage Checkpoint, a file system will be busy after it is next mounted until cleanup operations complete. If you try to unmount the file system during this time, a file system busy message may be displayed. Wait until the cleanup operations complete and try the unmount again.
The name of the Storage Checkpoint is preserved when a file system is restored from that Storage Checkpoint. That is, the name of the Storage Checkpoint is used by the fileset. For example, if a file system is restored from a Storage Checkpoint named backup1, you must rename the fileset if you wish to create another Storage Checkpoint using the name backup1. See the fsckptadm(1M) manual page for information on renaming a Storage Checkpoint.
When a file system is restored from a Storage Checkpoint using fsckpt_restore, all changes made to that file system after the creation of the Storage Checkpoint are permanently unrecoverable. The only Storage Checkpoints and data preserved are those that were created at the same time as, or before, the selected Storage Checkpoint's creation time. Run fsckpt_restore only if later changes to the file system can be discarded.
Neither the file system nor any of its Storage Checkpoints can be mounted when fsckpt_restore is invoked.
No cluster issues; command operates the same on cluster file systems.
Lists information on the file system root and all of its Storage Checkpoints. Typically, fsckpt_restore lists only those Storage Checkpoints which can be selected as sources for file system restoration.
Reports the dates and options for the Storage Checkpoint, but does not restore the file system.
Does not prompt for confirmation before restoring the file system.
fsckpt_restore -l /dev/vx/dsk/vol2 /dev/vx/dsk/vol2:
ctime = Thu 05 Dec 2002 06:28:24 PM PST
mtime = Thu 05 Dec 2002 06:28:26 PM PST
ctime = Thu 05 Dec 2002 06:28:35 PM PST
mtime = Thu 05 Dec 2002 06:28:35 PM PST
ctime = Thu 05 Dec 2002 06:28:34 PM PST
mtime = Thu 05 Dec 2002 06:28:34 PM PST
ctime = Thu 05 Dec 2002 06:28:33 PM PST
mtime = Thu 05 Dec 2002 06:28:33 PM PST
ctime = Thu 05 Dec 2002 06:28:31 PM PST
mtime = Thu 05 Dec 2002 06:28:36 PM PST
ctime = Thu 05 Dec 2002 06:28:30 PM PST
mtime = Thu 05 Dec 2002 06:28:30 PM PST
ctime = Thu 05 Dec 2002 06:28:29 PM PST
mtime = Thu 05 Dec 2002 06:28:29 PM PST
Select the Storage Checkpoint for restore operation,
or enter RETURN to list Storage Checkpoints: ckpt3
ctime = Thu 05 Dec 2002 06:28:31 PM PST
mtime = Thu 05 Dec 2002 06:28:36 PM PST
WARNING!! Checkpoint ckpt3 has been modified.
WARNING!! Any file system changes or Storage Checkpoints
made after Thu 05 Dec 2002 06:28:31 PM PST will be lost.
Restore the file system from Storage Checkpoint ckpt3 ? (ynq) y
File system restored from ckpt3
fsckptadm(1M), mount_vxfs(1M)