I am in the process of setting up a backup procedure as follows;
Running daily full backup on 13x W2003 servers. As the amount of data are small, all data will fit on one tape (Ultrium LTO3 400/800GB) daily. Each server will be backed up at separate time interval - I therefore need to create separate Group for each server.
My problem is I have 28 Tapes in my library and everyday I will need the previous day backup tape to be ejected to be stored off-site. I am using a Dell TL4000 ( IBM TS3200) tape library.
How can I best configure my backup for this to take place with minimum human intervention.
Is there any reason why you wish to run these 13 clients at different time given that data amount is small? You could simply put them in one group and then run backup with parallelism (group, client or server - depending on approach you take) of target session you decide to use. To force NW to use just one tape you simply create script which will update via mmlocate command location field for one tape to be in the library. That way, NW will think it has only one tape available and will use only that one. Next morning export it out and update second tape with mmlocate and NW will use that one. Even if you wish to use 13 groups you could still have same approach and have it working.
1. Withdraws (you have to find out which tape to withdraw) 2. automedia management switched on on jukebox resource (it will take another available tape for a backup which is not offsite).
If you want to fit all day backups to one tape you have to think about changing target session on a device (default 4). In other case NW will try to load a tape to another tape drive to receive all backup streams. Another way is to assign particular pool to a particular tape drive.
Another approach is to switch off automedia management and manually lable a tape for today backup than withdraw this tape after finishing all backups.
Each day, all thirteen Groups will to use only one tapes.( I know that all the data will fit ).
I have so far loaded all 28 volumes ( 4 weeks backup) in the library and made them all Read Only, except for one.
Each day at the end of the backup, I want to be able to eject the tape to the I/O slot to be taken off site. It would be good if I make the tape Read Only at the same time. I will then need to make the next volume appendable/recycle.
I want to be able to do this on the mounted volume automatically without having to enter the Volume Id or any other information. May be a batch file in the Post command (savepnpc) in the last job.
How are you with writing scripts? We have a similar situation so what we did is write a script to parse the nsrjb output and search for tapes left in the library. If any are found we mark the tapes read-only via nsrjb. That way NetWorker is forced to use a different tape. We run the script in cron (UNIX) shortly before the start of the nightly backups.
I think you don't have to have 28 different pools. Here is what I thing (how I understand that): 1. you have many clients which amount of backup data fits onto one LTO tape. 2. you want to backup it every day. you want to also to direct all backups to one tape. 3. after finishing the backups (and before start another) you want to take this tape offsie 4. when next backups starts you want it also to direct onto one tape which should be (after all day backups) taken offsite
My suggestion: 1. configure backups to ONE pool (let's say BackupPool) 2. configure automedia management on library and set proper target session on drives to NOT allow networker to use more that one tape to collect backups streams 3. let's say that all backups you want to perform before the next cycle end at 9:00 am. You have to prepare a script (or do it manually) to withdraw a tape to which backups go to 4. when next backup cycle begins Networker will notice that there is no tape available (because it is offsite - you have withdrawed it) for a backup and takes another tape (label it and mount). All backups goes to that new tape. 5. before 9:00 am you will withdraw this second tape
if you want to take tapes which were taken offsite back to business after all backups on it expires just deposit them back to library and RELABEL to "BackupPool".
Even if you have 13 groups configured you can still direct backups to one pool and one tape. At the client definition you have a filed "backup command". You have to enter there : save -b name_of_the_pool and all backups will be redirected to one pool (you can also get this through setings of pool resource configuration). Auto media management you can set in jukebox resource, target session on device resource. The script should have following algorithm: 1. check which tape was used for the last backup (daemon.log, mminfo) 2. withdraw this tape (you have to go to the library cap and remove the tape for offsite) - you can do this with nsrjb command (nsrjb -j juke_name -w -T volume_name).
Next time backup starts it will notice that there is no tape available for the pool you want to use and automatically label and mount a tape for a backup.
Of course you can do this manually. You can find out which tape is needed and withdraw it by hand.
Get the number of savesets you will have running at the same time, and use this value as Target Sessions in the tape drive configurarion. Nw will send streams to a device until it reachs it's Target Sessions value, then will redirect the other ones to another device.