Senin, 18 November 2013

Mount Snapshot for restore file

Here are the commands to run on the Netapp Controller to take any existing snapshot and create a LUN Clone
 
1)      Optional, create a new snap to be used as the basis of the LUN clone
snap create volume snap_name
 
2)      Create the lun clone, in the same volume as existing lun, using existing snap
lun clone create /vol/volume/clone01 -b /vol/volume/lun01 snap_name
 
a.       If you get the following error lun clone create: No space left on device use the following syntax
lun clone create /vol/volume/clone01 -o noreserve -b /vol/volume/lun01 snap_name
 
3)      Mount the clone to the off-host backup server.
lun map /vol/volume/clone01 backup_igroup #
 
backup_igroup = the initiator group associated with the backup server.
# = the LUN ID to mount the LUN as
 
a.       You could use SnapDrive to mount the LUN to the off-host backup server, as an alternative.
4)      On the backup server rescan your drives
5)      Bring the new volume on-line
6)      Perform the backup
7)      Take the volume off-line
8)      Remove the clone from the off-host backup server
lun unmap /vol/volume/clone01 backup_igroup
 
backup_igroup = the initiator group associated with the backup server
 
9)      Remove the clone
lun destroy /vol/volume/clone01

Tidak ada komentar:

Posting Komentar