cancel
Showing results for 
Search instead for 
Did you mean: 

Moving/copying images from LTO3 tapes to LTO5 tapes

perez_cmz
Level 6

I have ~650 LTO3 tapes at each site (2 sites). I have to move the LTO3 images at each site to LTO5 tapes in the same site.

Each site currently has an IBM TS3500 tape library, with 2 x LTO3 drives and 4 x LTO5 drives.

What would be the most efficient way to accomplish this ?

26 REPLIES 26

perez_cmz
Level 6

[root@sv144889 ~]# bpimmedia -mediaid 015741
IMAGE netbpny2p03.zit.commerzbank.com 8 netbpny2p03.zit.commerzbank.com_1365415088 US_STI_ORACLE_DEV_PEST 0 EOM_25Y 0 10 605 2147483646 0 0 0 0
FRAG 4 4 244590304 0 2 14 1 015741 mediany1p01.zit.commerzbank.com 65536 2 1365607398 3 0 *NULL* 2147483646 0 12 1 *NULL* 0
IMAGE netbpny2p03.zit.commerzbank.com 8 netbpny2p03.zit.commerzbank.com_1365409080 US_STI_ORACLE_DEV_ONYD 0 EOM_25Y 0 10 5019 2147483646 0 0 0 0
FRAG 4 1 1048575040 0 2 14 5 015741 mediany1p01.zit.commerzbank.com 65536 3821737 1365607398 1 0 *NULL* 2147483646 0 12 1 *NULL* 0
FRAG 4 2 138644544 0 2 14 6 015741 mediany1p01.zit.commerzbank.com 65536 20205724 1365607398 1 0 *NULL* 2147483646 0 12 1 *NULL* 0
IMAGE netbpny2p04.zit.commerzbank.com 8 netbpny2p04.zit.commerzbank.com_1365772348 US_STI_ORACLE_DEV_INYD 0 EOM_25Y 0 10 1 2147483646 0 0 0 0
FRAG 4 1 32 0 2 14 4 015741 mediany1p01.zit.commerzbank.com 65536 3821734 1365607398 3 0 *NULL* 2147483646 0 12 1 *NULL* 0
IMAGE netbpny2p04.zit.commerzbank.com 8 netbpny2p04.zit.commerzbank.com_1365767357 US_STI_ORACLE_DEV_BNYD 0 EOM_25Y 0 10 3 2147483646 0 0 0 0
FRAG 4 1 32 0 2 14 3 015741 mediany1p01.zit.commerzbank.com 65536 3821731 1365607398 1 0 *NULL* 2147483646 0 12 1 *NULL* 0
IMAGE netbpny2p04.zit.commerzbank.com 8 netbpny2p04.zit.commerzbank.com_1365767335 US_STI_ORACLE_DEV_NYSHRD02 0 EOM_25Y 0 10 3 2147483646 0 0 0 0
FRAG 4 1 32 0 2 14 2 015741 mediany1p01.zit.commerzbank.com 65536 3821728 1365607398 1 0 *NULL* 2147483646 0 12 1 *NULL* 0

 

[root@sv144889 ~]# bpmedialist -m 015741
Server Host = mediany1p01.zit.commerzbank.com

 id     rl  images   allocated        last updated      density  kbytes restores
           vimages   expiration       last read         <------- STATUS ------->
           On Hold
--------------------------------------------------------------------------------
015741  12      6   04/10/2013 17:23  04/13/2013 05:10  hcart2  1431809984     0
                6   01/19/2038 04:14        N/A         FULL

perez_cmz
Level 6

Btw, bpimmedia output showed the dates for all 6 images on 015741 as being 04/10/2013.

Marianne
Level 6
Partner    VIP    Accredited Certified

Strange that 'Date Allocated' shows 04/10/2013 but we see images with timestamp of 04/08/2013:

netbpny2p03.zit.commerzbank.com_1365415088 
UNIX time 1365415088 is 04/08/2013 9:58am GMT.

So, your start-date of 04/01/13 should have worked...

I am now wondering if there is maybe a difference in locale on your master server?

See the explanation of -s and -e in the Commands Manual:

-e date, -s date
Specifies the end (-e) or start (-s) of the range of dates and times that include
all backups to duplicate. The default end date is the current date and time.
The default start time is 24 hours before the current date and time.
The required date and time values format in NetBackup commands varies
according to your locale. The /user/openv/msg/.conf file (UNIX and Linux)
and the install_path\VERITAS\msg\LC.CONF file (Windows) contain
information such as the date-time formats for each supported locale. The
files contain specific instructions on how to add or modify the list of supported
locales and formats.
More information is available about the locale of your system.
See the "About specifying the locale of the NetBackup installation" topic in
the NetBackup Administrator's Guide, Volume II.

 

Maybe try to specify the year as 2013?
-s 04/01/2013 -e 05/02/2014

Other than this, maybe try one media-id using Duplicate in the Catalog section of the GUI and see what the result is. The info shown in the GUI results may give us a clue about the date format that can then be used from cmd or in a script.

perez_cmz
Level 6

Apologies, my master server is in Frankfurt, Germany.

The media servers for my office are in New York.

Marianne
Level 6
Partner    VIP    Accredited Certified

Please try what I have suggested in my previous post:

.... maybe try one media-id using Duplicate in the Catalog section of the GUI and see what the result is. The info shown in the GUI results may give us a clue about the date format that can then be used from cmd or in a script.

perez_cmz
Level 6

I was able to duplicate images on tape by copy numbers through the gui.

I had to specify the storage unit and volume pool to where I wanted to duplicate to.

Marianne
Level 6
Partner    VIP    Accredited Certified

Glad to see you solved your own problem!