Restoring a filesystem or snapshot from another snapshot using the CLI

Content Software for File CLI Reference

Version
4.2.x
Audience
anonymous
Part Number
MK-HCSF001-03

You can restore a filesystem or snapshot from another snapshot.

Command

weka fs restore

Use the following command line to restore a snapshot:

weka fs restore <file-system> <source-name>

Command

weka fs snapshot copy

Use the following command line to restore a snapshot to another snapshot:

weka fs snapshot copy <file-system> <source-name> <destination-name>
Table. Parameters
Name Type Value Limitations Mandatory Default
file-system String A valid filesystem identifier Must be a valid name Yes
source-name String Unique name for the source of the snapshot Must be a valid name Yes
destination-name String Name of the destination to which the snapshot should be copied Must be an existing snapshot Yes
CAUTION:
When restoring a filesystem from a snapshot (or copying over an existing snapshot), the filesystem data and metadata are changed. Make sure IOs to the filesystem are stopped during this time.