Networker

[Networker] How does nsrclone order a list of SSIDs for cloning?

2010-01-11 18:45:41
Subject: [Networker] How does nsrclone order a list of SSIDs for cloning?
From: ramkriz <networker-forum AT BACKUPCENTRAL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 11 Jan 2010 18:43:24 -0500
bbartick wrote:
> We recently rolled out a VTL and I'm in the process of scripting the cloning 
> process. From the testing I've done, it seems as though nsrclone does not 
> clone the SSIDs in the order you pass to the command.
> I'd love to clone the oldest savesets first so that I can roll them off the 
> VTL first.
> I was thinking I could do something similar to:
> 
> mminfo -ot -q "pool=VTL1,copies=1,!incomplete,savetime<21 days ago" -r ssid 
> --> output to a file $FILE
> 
> 
> Then I will clone the ssids
> 
> nohup nsrclone -b "$POOL" -y "$RETENTION" -J "$NODE" -S -f $FILE &
> 
> I was surprised to see my savesets aren't being cloned in the order of the 
> savesets in the file.
> Can anyone tell me how nsrclone determines which savesets will be cloned 
> first?
> 
> Thank you,
> 
> Brett



Hi Brett,

I would prefer Staging rather than Cloning. You could do the same using NSR 
stage instead of NSR clone. I have it configured as below in my server. Once 
your VTL reaches 80%, it will start and transfer the oldest savesets to "Disk 
Clone" pools tapes and stops once VTL reaches 20%. You can start manual staging 
when there is need. 

Thanks,
Ramkriz

                        type: NSR stage;
                        name: Disk Stage;
                     comment: VTL Disk Stage;
                     enabled:  No   [Yes];
         high water mark (%): 80;
          low water mark (%): 20;
          save set selection:  largest save set    smallest save set   [oldest 
save set]   youngest save set ;
            destination pool:  Archive    Archive Clone    Default    Default 
Clone    Disk Backup   [Disk Clone]   Indexed Archive
                               Indexed Archive Clone    PC Archive    PC 
Archive Clone ;
                     devices: [/vtl/backup];
          max storage period: 2;
     max storage period unit:  Hours   [Days];
      recover space interval: 8;
          recover space unit:  Minutes   [Hours];
  file system check interval: 3;
      file system check unit:  Minutes   [Hours];
                   start now:  Recover space    check file system    stage all 
save sets ;

+----------------------------------------------------------------------
|This was sent by ramkriz AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>