Reverts the specified fileset to a specified FlashCopy® image of the file layout and contents.
>>-reverttoimage--+--------+--+---------+-----------------------> +- -?----+ '- -quiet-' +- -h----+ '- -help-' >-- -fileset--fileset_name--+-----+--+-image_name-+------------>< '- -f-' '- - --------'
You must have Administrator privileges to use the command.
You must be logged in to the operating system on the engine hosting the master metadata server to run this command.
Unless you specify the –f parameter, there must not be any client activity in the FlashCopy images being deleted or in the current fileset image.
You cannot revert to a FlashCopy image when nested filesets exist within the fileset. You must manually detach the nested filesets before running the reverttoimage command.
The .flashcopy directory is a hidden directory. Windows-based clients must use special operating-system commands to view this directory.
Depending on the age of the specified FlashCopy image and the amount of unique file data in the image tree, the revert operation could result in significant background activity to clean up the file-system objects that are no longer referenced.
Because the specified FlashCopy image is deleted after you issue the reverttoimage command, it is recommended that you preserve a secondary backup of the fileset before using the command for future use or disaster recovery.
To preserve the fileset hierarchy, you must reattach any nested filesets that you detached before issuing the command when this command completes. It is recommended that you note the hierarchy using the lsfileset command before reverting to a FlashCopy image.
You cannot use the reverttoimage command while the mvfile command is in progress on a file on the same fileset.
sfscli> reverttoimage -fileset cnt_A cntA_image
Are you sure you want to revert to FlashCopy image cntA_image? y/n Y
FlashCopy cntA_image successfully restored.
Parent topic: Administrative commands
Related tasks
Reverting to a previous FlashCopy image