HabibG2
3 Zinc

Backup Configuration & Library Management on 7.3.2

Jump to solution
HI,

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.

Thanks
Habib.
0 Kudos
1 Solution

Accepted Solutions
ble1
7 Thorium

Re: Backup Configuration & Library Management on 7.3.2

Jump to solution
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.

View solution in original post

0 Kudos
16 Replies
benzino1
3 Argentum

Re: Backup Configuration & Library Management on 7.3.2

Jump to solution
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.
HabibG2
3 Zinc

Re: Backup Configuration & Library Management on 7.3.2

Jump to solution
Piotr,

Thanks for the info.

I know my backup will fill onto one tape.

My problem is that I do not want the following backup to use the same tape as I know Networker will use the tape if it available.

Ideally I want the tape to be ejected and if its not then I would like NetWorker to use a different tape.

I take your point about pooling, If I chose to do so, I will have to have about 28 different pools -one for each day and many more associated Groups. - I Think !! I hope this make sense.

Thanks
Habib
0 Kudos
dpinink_silva
4 Tellurium

Re: Backup Configuration & Library Management on 7.3.2

Jump to solution
My problem is that I do not want the following backup to use the same tape


Habib,

I'm a bit lost here. Do you want that each group uses a different tape? Let's say:

Group1 -> Tape1
Group2 -> Tape2
...
Group13 -> Tape13

Then you will eject Tape1 and Tape2, and in the next day:

Group1 -> Tape14
Group2 -> Tape 15 etc etc

When you say that your backup will fill onto one tape, are you talking about all your backup groups, or are you telling that each group will not use more than one tape?
0 Kudos
HabibG2
3 Zinc

Re: Backup Configuration & Library Management on 7.3.2

Jump to solution
Daniel,

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.

Thanks for your help.
Habib
0 Kudos
vsemaska
3 Argentum

Re: Backup Configuration & Library Management on 7.3.2

Jump to solution
Habib,

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.

Vic
benzino1
3 Argentum

Re: Backup Configuration & Library Management on 7.3.2

Jump to solution
Habib,

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".

I hope this helps.
0 Kudos
HabibG2
3 Zinc

Re: Backup Configuration & Library Management on 7.3.2

Jump to solution
Thank you all for your valuable suggestions.

Piotr,

As it is I have only one pool but I have created 13 Groups, one per server as each server has to be backed up at different time of the day. All the 13 servers backup will fit onto one tape.

Where do I 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?

I have looked into library properties on the "Advance" tab and saw the Available slot field..etc.

BTW I am fairly new to NetWorker and have not done any scripting so far.

What sort of script would I need to first identify the tape in question and eject it to the I/O slot so it can be removed.

Thanks for your help.
Habib
0 Kudos
benzino1
3 Argentum

Re: Backup Configuration & Library Management on 7.3.2

Jump to solution
Habib,

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.
0 Kudos
dpinink_silva
4 Tellurium

Re: Backup Configuration & Library Management on 7.3.2

Jump to solution
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.
0 Kudos