Friday, November 13, 2015

How to recover the Clone Save Set

How to test cloned save set recovery
How to test single file cloned recovery

We have two Networker Sites and Two Data Domain Sites

Networker1

Data Domain 1 : Backup of Networker1 is stored on DD1 and Cloning to DD2

Data Domain 2 : Disaster Site DD 

We have data on both Sites.

But for testing we have to restore cloned save set (e.g from DD2 only single file daemon.raw file)

Backup Data Domain Volume: DD1Volume.AA
Clone Data Domain Volume:   DD2CloneVolume.BB

In this scenario  you should run first normal recovery like as below:


bash-4.1$ sudo recover -c backuptest.com -R backuptest.com -iR
Current working directory is /

recover> cd /nsr/logs  (Check your files path)

recover> add daemon.raw
1 file(s) marked for recovery

recover> volume
Volumes needed (all on-line):
        DD1Volume.AA at rd=storagenode01.backuptest.com:DD1DISK01

recover>



But above volume is belong to DD1 not Cloned DD2.

Go to following path:
Login NMC >>> Backup Server >>> Media  >>> Disk Voulumes >>> DD1Volume.AA


For single file you cannot find there SSID you can find SSID for whole save set.






Then run recover again with same procedure like above.

bash-4.1$ sudo recover -c backuptest.com -R backuptest.com -iR
Current working directory is /

recover> cd /nsr/logs  (Check your files path)

recover> add daemon.raw
1 file(s) marked for recovery


recover> volume
Volumes needed (all on-line):
        DD2CloneVolume.BB at rd=storagenode02.backuptest.com:DD2DISK01

And recovered on same server on E:\ drive

recover> relocate
6479:recover: <return> will recover files into their original location
New destination directory: E:\restored_11-11-2015

recover> recover


After Test recover is completed you can revert the changes:

 Login NMC >>> Backup Server >>> Media  >>> Disk Voulumes >>> DD1Volume.AA and mark save set from suspect to Normal.





If you want to recover whole save set like “/” you can find the SSID and Clone ID using mminfo command.

bash-4.1$ mminfo -q client=backuptest.com-ot -r "client,name,volume,sscreate,ssretent,ssid,cloneid"

client                   Save Set name         volume               created        ssid          clone id
backuptest.com      /                      DD1Volume.AA          12/02/2015 123456789  1111111111
backuptest.com     /                      DD2CloneVolume.BB   12/02/2015 123456789  2222222222

recover> recover -S 123456789/2222222222

For recovery more details check my below posts:


<http://learnbackupwithmoin.blogspot.com/2015/11/save-set-recover-from-command-prompt.html>

No comments:

Post a Comment

Test1