Table of ContentsLibraryView in Frames

Renaming Snapshot copies

You might want to rename a Snapshot copy generated by the snap sched command if it contains data that you want to save (the snap sched command overwrites and deletes regularly scheduled Snapshot copies). You can use the snap rename command to save a Snapshot copy that contains data you want.

Step

  1. To rename a Snapshot copy, enter the following command:snap rename volume_name from_name to_name

    volume_name is the name of the volume that contains the Snapshot copy to rename.

    from_name is the current name of the Snapshot copy to rename.

    to_name is the new name you want to give to the Snapshot copy.

    Attention: To preserve the renamed Snapshot copy, you should rename the Snapshot copy so that the name does not begin with one of the following standard prefixes: weekly, nightly, hourly, or min; otherwise, Data ONTAP will still delete the renamed Snapshot copy.

    Example

    snap rename vol0 hourly.2 MyDataSave