Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

SLP Duplicate Copy Info

Created: 08 Feb 2012 | 9 comments
Sid1987's picture
0 0 Votes
Login to vote

Hi Guys,

  I am running a script to get the Full backup dates of the servers in my env by bpimagelist. I would like know is there a way to get info about the secondary copy which created by the duplication job. Means the retention and all.

Is it true that the copy1 which is the primary backup copy which is duplicated and a copy2 is created the copy2 becomes the primary copy, is it right away or after the copy1 is expired?

And when i a run bpimagelist the info provided is for which copy 1 or 2?

Comments

Sid1987's picture
08
Feb
2012
0 Votes 0
Login to vote

Please reply to this

Please reply to this question...

Thanks in advance

Yasuhisa Ishikawa's picture
08
Feb
2012
0 Votes 0
Login to vote

You can get copy information with bpimagelist

Try "bpimagelist -L", this gives detail information for each backup incluing information about all copies and fragments.

After copy 1 become expired, copy with least copy number automatically become new primary copy. If copy 2 remains, copy 2 become new promary copy.

Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan

Sid1987's picture
09
Feb
2012
0 Votes 0
Login to vote

Hi Yasuhisa Thanks for the

Hi Yasuhisa

Thanks for the reply.

I got it. But just a small query what does  ID: @aaaau means ?

 

Copy number:       2
 Fragment:         TIR (-1)
 Kilobytes:        3863
 Remainder:        676
 Media Type:       Disk (0)
 Density:          qscsi (0)
 File Num:         0
 ID:               @aaaau

Sid1987's picture
09
Feb
2012
0 Votes 0
Login to vote

One more question? From

One more question? From scripting point of view. How do i get only

Copy number: 2   Expiration Time:  Fri 17 Feb 2012 09:28:01
 

From the whole thing given by the the command bpimagelist -client cllnw02.wk.dcx.com -hoursago 10000 -st full -L

Please help

Mark_Solutions's picture
09
Feb
2012
0 Votes 0
Login to vote

Hi   Let me answer the @aaaau

Hi

 

Let me answer the @aaaau part first ....

This is the logical disk media id assigned to the backup within NetBackup

It doesnt actually mean a lot really it is just how NetBackup assigns some sort of media ID to a disk image.

Next questions .. how to just look at Copy 2 details ...

The backup time and all other attributes of copy 2 are identical to Copy 1 unless you use Vault or SLPs - the creation time and media expiry will be identical, even though the tape may not have been created until some hours later

If using SLPs or Vault then the Copy 2 expiry. and its Media ID are different so for that, asuming your copy 1 is on disk, then add the -media switch to just show the tape details (which will relate to copy 2)

If the tape copies are also using a different retention period to the disk copies you could also use the -rl switch followed by the retention level used for the tape copy - this is just a number - see in the Master Server Host Properties - Retention Levels section (you can see in there which policies use this setting but you may need to check your SLP or Vault profile for the exact number actually used)

Hope this helps

Authorised Symantec Consultant

Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.

Sid1987's picture
09
Feb
2012
0 Votes 0
Login to vote

Also does bpduplicate will

Also does bpduplicate will help me getting necessary information like retention and copy number in such a case?

Mark_Solutions's picture
09
Feb
2012
0 Votes 0
Login to vote

bpimagelist -media will only

bpimagelist -media will only show the tape copies details

bpimmedia -tape -L can also be useful as it gives the retention level

Check out the commands guide or more details:

http://www.symantec.com/docs/DOC3684

Authorised Symantec Consultant

Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.

Sid1987's picture
10
Feb
2012
0 Votes 0
Login to vote

Thanks Mark for @aaau

Thanks Mark for @aaau info

We are using SLP and the dupluication is to another Data Domain box. I want to get the retention of the copy 2 if it got created. As we have in bpimagelist -U it gives an info us user readable format where as in -L gives whole lot of information. I need something like bpimagelist -U (which gives for copy1) for copy2

 

Thanks

in advance

Mark_Solutions's picture
13
Feb
2012
0 Votes 0
Login to vote

Assuming that each copy has a

Assuming that each copy has a different retention level then you could run:

bpimagelist -U -rl 5

To see which images have been duplicated to the DD box

Or you could use bpimmedia against the namke of the disk pool for the DD box:

bpimmedia -dp poolname -U (or you can use -L)

Hope this helps

Authorised Symantec Consultant

Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.