2011-07-06 03:27 AM
I just need your help to restore data from one snapshot from source volume VOLTESTRESTORE to different volume location VOLTESTDESTINATION
I have one snapshut ready SNAP3 from VOLTESTRESTORE and I need to restore it on another volume VOLTESTDESTINATION
should I use snapshot or another command ?
I tried using this command line but it give error every time
snap restore -t vol -s SNAP3 -r /vol/VOLTESTRESTORE/ /vol/VOLTESTDESTINATION
2011-07-06 03:57 AM
"snap restore" ONLY works within the same volume.
If you want tot get data from a snapshot within a volume to another volume, yoy can either mount or connect to a share and then copy with Explroer or "cp" on unix.
If this is a LUN, connect to the LUN in the snapshot and again, copy the data with the host.
Hope this helps,
2011-07-06 04:09 AM
If you have a flexclone license and enough free space in the aggregate, I would clone the volume, then split it off and run the "snap restore" in the newly split volume.
If this data is good, switch over to the new volume.
mabye thats a way?
2011-07-06 04:30 AM
Yes, you can.
vol clone create <vol-name> [-s none | file | volume] [-f] -b <parent_flexvol> [<parent_snapshot>]
- create a new flexible volume that is a clone of <parent_flexvol>
Just provide the SNAP3 as the [<parent_snapshot>]
2011-07-06 04:41 AM
As far as I know you can’t restore a snapshot to a different volume, that snapshots are volume based.
What are you trying to achieve as you could do something like a vol copy or a flexclone to allow you to do this…
But as far as I know you can’t restore snapshots to a different volume…
2011-07-06 04:45 AM
what about this option b cause am confusing between
restore-from-path and vol name
snap restore [-A | -V] [-f] [-t vol | file] [-s <snapshot-name>] [-r <restore-as-path>] <vol-name> | <restore-from-path>