![]() |
< Previous | Next > |
Product: File System Manual Pages for Storage Foundation | |
Manual: Maintenance Commands (1m) |
fsckpt_restoreNAMEfsckpt_restore - VxFS Storage Checkpoint file system restoration utility SYNOPSISfsckpt_restore [ -n | -y ] [ -l ] device_name [ ckpt_name ] AVAILABILITYDESCRIPTIONfsckpt_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. NOTESAfter 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, or do a forced unmount. 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. WARNINGSWhen 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. CLUSTER FILE SYSTEM ISSUESNo cluster issues; command operates the same on cluster file systems. OPTIONSLists 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. EXAMPLEfsckpt_restore -l /dev/vx/dsk/vol2 /dev/vx/dsk/vol2: UNNAMED: ctime = Thu 05 Dec 2002 06:28:24 PM PST mtime = Thu 05 Dec 2002 06:28:26 PM PST flags = file system root ckpt6: ctime = Thu 05 Dec 2002 06:28:35 PM PST mtime = Thu 05 Dec 2002 06:28:35 PM PST flags = none ckpt5: ctime = Thu 05 Dec 2002 06:28:34 PM PST mtime = Thu 05 Dec 2002 06:28:34 PM PST flags = nomount ckpt4: ctime = Thu 05 Dec 2002 06:28:33 PM PST mtime = Thu 05 Dec 2002 06:28:33 PM PST flags = none ckpt3: ctime = Thu 05 Dec 2002 06:28:31 PM PST mtime = Thu 05 Dec 2002 06:28:36 PM PST flags = none ckpt2: ctime = Thu 05 Dec 2002 06:28:30 PM PST mtime = Thu 05 Dec 2002 06:28:30 PM PST flags = none ckpt1: ctime = Thu 05 Dec 2002 06:28:29 PM PST mtime = Thu 05 Dec 2002 06:28:29 PM PST flags = nodata Select the Storage Checkpoint for restore operation, or enter RETURN to list Storage Checkpoints: ckpt3 ckpt3: ctime = Thu 05 Dec 2002 06:28:31 PM PST mtime = Thu 05 Dec 2002 06:28:36 PM PST flags = none 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 (Yes) File system restored from ckpt3 SEE ALSOfsckptadm (1M), mount_vxfs (1M) |
^ Return to Top | < Previous | Next > |
Product: File System Manual Pages for Storage Foundation | |
Manual: Maintenance Commands (1m) | |
VERITAS Software Corporation
www.veritas.com |