Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1720

June 7th, 2019 14:00

copy savesets from tape A To multiple tapes..

Hi everyone, i need to know if is possible to copy  savesets from TAPE A with Pool A (the save sets are from fileservers, databases, exchange,etc)  to TAPE B with the pool for fileservers, TAPE C with the pool for databases and so on. 

I am new on networker and i need to send the tapes offsite  with the data splited.

 

Thanks in advance.

the networker version is 9.1.1.3 and his OS Windows 2012 R2

 

4 Operator

 • 

1.3K Posts

June 7th, 2019 20:00

Of course you can. Since you have all the savesets i.e. FS and DB mixed in one singe pool you will need gather the ssid list manually as a client machine can have both FS and DB backups configured. Use mminfo command to gather this information. one you have the saveset list you can manually run nsrclone or use the static clone protection group to carry out the cloning.

2.4K Posts

June 7th, 2019 22:00

If you do that, let me suggest that you better switch off multplexing (parallelism=1) for the tape backups.

If you use multiplexing (assume that you have a parallelism of 4 and 4 save sets active to the same pool at that time), such is good for backups (keeping the tape in motion). However, if you clone a single save set you travel along the whole tape to read (100%) but you only need to copy 25% (a single of the 4 save sets). Consequentl, such will extend the necessary clone time.

An even better approach would be that you backup to disk before you clone to tape.

 

1 Rookie

 • 

82 Posts

June 28th, 2019 07:00

Excuse me for the delay in me asnwer a try a few nsrclone and it works, but and the end i have to clone again the data to their corresponding media pools.

1 Rookie

 • 

82 Posts

June 28th, 2019 07:00

I am kind of new, i going to  research about  multplexing .

Well my approach is to copy first to a pool on datadomain  disk and then at  the end of the month () copy that saves sets to another historic pool on tapes.

Thanks

2.4K Posts

July 1st, 2019 01:00

Of yourse you can clone save sets from a (DD) volume to tape. But you should do that in an unmultiplexed way - save set by save set. Scripted cloning would be an optimal way to achieve that.

'Multplexing' is the result if you send data from multiple streams to the same tape drive/volume at the same time. The result is a mix of data streams (aka interleaving). This was used when backing up to tape with the intention to keep the drive 's t r e a m i n g' if one stream is not capable to send the data fast enough.

Now, if the data already exists on (DD) disk, the data path to tape drives usually are fast enough. Multiplexing here would not make sense. It is even contra-productive if you think about restores. Why? - because it is more unlikely that you will recover all interleaved save sets/streams at the same time. But the tape drive has no choice as it works as sequential media. So it must read/travel parts of save streams which are not needed. The result is a longer restore process.

 

1 Rookie

 • 

82 Posts

July 2nd, 2019 12:00

Hi, first at all sorry my rusty english. I going to try to understand:

 

  1. So to avoid multiple streams i need to  create a cloning script  (any example?)
  2. I understand than the tape drive works sequetialy, actually when i schedule the clonings job i do it like this example:
    1. Saturday cloning job takes savesets from  weekly pool_01 (on dd device)  to offsite weekly_01  pool  on tape 01
    2. Sunday cloning job takes savesets from  weekly pool_02 (on dd device)  to offsite weekly_02 on tape 02

Thats ok?

2.4K Posts

July 2nd, 2019 23:00

1. No - you do not necessarily need a script. Another alternative would be to set the target session for a tape device to 1. But this could be the wrong value for other operations.

    However, scripting is my personal preference and you can run a separate script for each disk device you want to clone from. That's another way to achieve parallelism.

2. For a NW Windows server, Powershell would be the ideal environment for these scripts.

    Whatever method you use, NW-wise you only need 2 core statements:

       - mminfo to create the clone save set list and save it to a file

       - nsrclone to run the clone process

   Such script would consist of these core lines (samples):

$out_file = $global:path + "ssids_for_" + $global:volume + ".txt"

$command = "mminfo -s " + $global:nwserver + " -q 'level=full ,!incomplete,!suspect,copies=1,volume=" + $global:volume + ",savetime>-1weeks"' -r 'ssid' > " + $out-file

invoke-expression $command

$command = "nsrclone -v -F -s " + $nwserver + " -J " + $snode + " -d " + $snode + " -b " + $pool + " -y " + $global:month + "/01/" + $global:year + " -S -f " + $out_file

invoke-expression $command

 

1 Rookie

 • 

82 Posts

July 4th, 2019 09:00

Hi again, thanks  for the explanation and  the scripts samples, i m going to try.

No Events found!

Top