Sunday, April 24, 2011

Networker-duplicate the backup using nsrclone

nsrclone duplicates your saveset, the duplicate copy can be placed in a different media.

Here I will explain three different scenarios.

1. You want to copy entire volume to another media.

create a new Clone pool and assign the media.

if you want to clone entire contents of volume 0060 then

nsrclone –n <ClonePoolName> volume

Ex:- nsrclone -b “TestClonePool” 0060

 

2. You want to copy only one saveset of one server from a particular date

Use mminfo to get the save set id, example below

[root@mybkpsrv]# mminfo -avot | grep 04/19/2010 | grep AppServer

000060 AppServer 04/19/2010 10:30:17 AM 1209 KB 2444045309 cb full C:\Configs

Note the saveset id 2444045309

now run

nsrclone -s <backup server> -b <ClonePoolName> -S <save set id>

Ex: nsrclone -s mybkpsrv -b "TestClonePool" -S 2444045309

 

3. You want to clone entire backup taken on a particular date.

Copy all save set id of that date to a file

[root@mybkpsrv]# mminfo -avot | grep 04/19/2010 | |awk '{ print $8 }' >saveset.txt

This will copy all saveset id of 04/19/2010 to saveset.txt

now run

nsrclone -s <backup server> -b <ClonePoolName> –S –f <file>

Ex:- nsrclone -s mybkpsrv -b "TestPool" -S -f saveset.txt

You also can also set a different retention period for your clone as below

nsrclone -s mybkpsrv -b "TestPool" -y "6 months” -S -f saveset.txt

This will clone entire save sets with 6 months retention

No comments:

Post a Comment