Restoring from a Snapshot on a Unix-style Instance
Learn how to restore a File Storage file system from a snapshot on the instance.
Snapshots are created under the root folder of your file system, in a hidden directory named .snapshot
. You can restore a file within the snapshot, or an entire snapshot using the cp
command. Use the -r
option when restoring a snapshot that contains subdirectories.
For example:
cp -r .snapshot/snapshot_name/* destination_directory_name
Optionally, you can use rsync
, tar
, or another tool that supports NFSv3 to copy your data to another remote location. For optimal performance, use the Parallel File Tools.
For example:
parcp .snapshot/snapshot_name/* destination_directory_name
To create a new file system from a snapshot, see Cloning a File System.