02-06-2013 01:02 AM
Hi all,
I have the following goal:
We have a large Fileserver, wich needs a full backup at weekends. This backup has a 6 week retention. But once a moth I need a backup with a retention of 60 weeks. So i changed the storage that the "month" schedule uses to a SLP. This SLP does the backup with 6 weeks to the week pool and than a duplicate with 60 Weeks retention.
But when I have a look at the incomplete SLP copies right now, it seems that now ALL backups from that server, even ones taken 5-6 weeks ago, will be duplicated to 60 weeks?
The server has ~6TB Storage and when I have a look in nbstluitl report, NBU tries to duplicate 41TB right now and that number is growing.
Can some one explain this behavior?
As I said, what I want to archieve is, that once a month a 6 weeks retention backups is duplicated to 60 weeks, and we can remove it from the library.
Volker
02-06-2013 01:48 AM
So i changed the storage that the "month" schedule uses to a SLP. This SLP does the backup with 6 weeks to the week pool and than a duplicate with 60 Weeks retention.
Not the right way in that case for this particular SLP schedule it will retain the duplication for 60 weeks. You have to create the SLP schedule like daily,weekly and monthly. If you have specific situation then create a different schedule but don't mix the retention otherwise you have unnecessary retention.
As I said, what I want to archieve is, that once a month a 6 weeks retention backups is duplicated to 60 weeks, and we can remove it from the library.
Just create a different schedule for this may be give it a name 60weeks.
02-06-2013 02:46 AM
Incomplete SLP images usually have a retention of "forever" as that stops them expiring before their lifecycle is complete (i.e. have been duplicated)
My concern here is that you seem to be saying that you have a 41TB backlog of duplications - is that right? Do you know why?
Rather than duplicate and use SLPs (and if you only have tape and notmany drives that is a real issue for you) all you need are multiple schedules
Best way to do this is using calendar scheduling ...
A Monthly schedule that runs every every 1st Saturday of the month, has a retention of 60 weeks and uses the mothly volume pool - open window from 00:10 on Saturday to 23:50 on Saturday
A weekly schedule that runs every 2nd, 3rd, 4th, 5th Saturday of the month, has a retention of 6 weeks and uses the weekly volume pool - exactly the same open window as the Monthly one.
If you have a large backlog of duplications you will probably need to use:
nbstlutil cancel -lifecycle lifecyclename
to cancel thatback log after which you can look through all of what you currently have and just set a batch of them to be 60 weeks rather then 6 weeks to give a monthly set of tapes, even though they are on weekly tapes for that set.
Hope this makes sense and helps
02-06-2013 03:31 AM
02-06-2013 03:37 AM
If you do want two copies then an SLP is fine, as long as you have the resources to do the duplications efficiently.
I would make a new SLP with backup to STU1 and retention 6 weeks on weekly tapes then duplication to STU2 with retention 60 weeks on monthly tapes.
Next override the STU in the Monthly schedule with that SLP
02-06-2013 04:56 AM
02-06-2013 05:26 AM
An SLP should not do that - it is image specific - even if you edit it old images retain their original SLP configurations.
So only backups that have ocurred since the SLP was introduced will have their images under the SLP control.
For a policy in question could you run the following and attach the output as text files just to that i can see what you have....(both in netbackup\bin\admincmd)
bppllist policyname -U
nbstl -L
Thanks
02-06-2013 05:50 AM
02-06-2013 06:02 AM
Looks OK so cannot see why you should have an issue.
So if you run the following can you post the text file (as an attachment please)
nbstlutil list -lifecycle SV42080OEL1183_SLP_MONTH -image_incomplete
(unless you have already cancelled them all?)
02-06-2013 08:05 AM
02-06-2013 08:34 AM
You could do to see if it gathers all the other images again - keep us posted
02-07-2013 01:27 AM
02-07-2013 04:40 AM
They are probably OK - the min gb size per duplic\ation is set to 1TB which is pretty high but this gets over rules by the 30 minutes force small duplication anyway
The tape multiplyer just allows more duplication jobs to go active - useful in a shared tape drive / multiple SLP environment
These settings only apply to SLPs and not to DSSU's
02-07-2013 04:44 AM
02-07-2013 04:48 AM
Sorry Mark, didn't saw your reply, was typing my repley the same time.
Thanks for clarification. So when the tape multipler is 3 then I will have 3 active SLP jobs?
I chose to set the size to 1TB because the backups that should be duplicated are from pretty big DB2 DBs.
But I have explained that in more detail in my post below.
Volker
02-08-2013 02:06 AM
You cannot multiplex a duplication with NetBackup - it is by design
All duplications from disk to tape will be done one image at a time (whether it is basic, advanced or SLP duplications)
There is an advantahe in this in that your future restores from tape will be faster as they are not multiplexed
02-08-2013 02:16 AM
Ah, ok!
hmm, this is a duplication from tape to tape, and why is there a preserve multiplexing checkbox in the SLP. I thought that NBU will be that smart to only read the tape once and copy it. So what is the purpose auf that setting?
I can see in the reports that the SLP is working image based. the images are >~200GB, so it would be smart to set my MIN_GB_SIZE to 200GB I guess.
Maybe SLP isn't the right way to do the duplications? I tried to write directly to two tapedrives, but I have a feeling that the actual data is read twice, because, when NBU does write to two tapes in parralell the backup time is nearly doubled.
Ok, thanks Mark! I think I have to ply a little but longer with the parameters and SLP to get the results I need.
Volker
02-08-2013 03:04 AM
AH! forgot this was tape to tape ... that being the case is the multiplexing set the same for both Storage Units?
Open up the storage units and check that the Enable Mulitplexing is checked and the Maximum Streams per drive is the same for both
I am assuming that when the backups run they do all run at the same time so that the tapes are actaully multiplexed in the first place? Will only replicate the same as is on the original tape - not anything different.