Not only does NBU want to read a GNU-tar tape, NBU writes/expects a
special NetBackup header on that tape - so unless that "tar" data was
written by NetBackup, NetBackup is NOT going to restore it.
hth
rob
--- Dongfang Liao <dongfang.liao AT rogers DOT com> wrote:
> RE: [Veritas-bu] Any tips on tuning Win2K NetBackup clients for
> better performance?sorry, I got the other way round regarding this.
> lol!
>
> may be you can try to import the tape first. But I don't think it
> will work. Netbackup only see GNU tar format tape.
> ----- Original Message -----
> From: Dongfang Liao
> To: Diaz, Gustavo ; veritas-bu AT mailman.eng.auburn DOT edu
> Sent: Thursday, February 21, 2002 12:33 PM
> Subject: Re: [Veritas-bu] Reading tar tapes from Netbackup
>
>
> Yeah. definitely you can. But you have to use GNU tar command,
> which is coming from the NetBackup, to read the tape.
>
>
> First, figure out the fragment number and the block size needed.
>
> Ex:
>
> On your NetBackup Master, find out the position of the files that
> you are restoring.
>
> # ./bpmedialist -mcontents -ev D0004
> media id = D0004, allocated 09/21/99 14:19:, retention level = 1
>
> File number 1
> Backup id = jeckle_0937941543
> Creation date = 09/21/99 14:19:
> Expiration date = 10/05/99 14:19:
> Retention level = 1
> Copy number = 1
> Fragment number = 1
> Block size (in bytes) = 32768
>
> Then work the tape on the Solaris machine with GNU tar command
> ready. (You can copy this command from your Solaris Platform with
> NetBackup software installed. The directory is located in
> /usr/openv/netbackup/bin/ directory. ) :
>
>
> home # mt -f /dev/rmt/1cbn rew (goes to beginning of tape)
>
> home # mt -f /dev/rmt/1cbn stat (verify at beginning of tape)
>
> Vendor 'QUANTUM ' Product 'DLT7000 ' tape drive:
> sense key(0x0)= No Additional Sense residual= 0 retries= 0
> file no= 0 block no= 0
> home # mt -f /dev/rmt/1cbn fsf (position to file #1)
>
> home # mt -f /dev/rmt/1cbn stat (verify)
> Vendor 'QUANTUM ' Product 'DLT7000 ' tape drive:
> sense key(0x0)= No Additional Sense residual= 0 retries= 0
> file no= 1 block no= 0
>
> home # mt -f /dev/rmt/1cbn fsr (position to record 1)
>
> home # mt -f /dev/rmt/1cbn stat (verify)
> Vendor 'QUANTUM ' Product 'DLT7000 ' tape drive:
> sense key(0x0)= No Additional Sense residual= 0 retries= 0
> file no= 1 block no= 1
>
>
> home # /usr/openv/netbackup/bin/tar -tvf /dev/rmt/1cbn (run tar
> command, if you don't have this command, copy from other solaris
> machine with NetBackup software installed.)
> Blocksize = 2 records
> Hmm, this doesn't look like a tar archive.
> Skipping to next file header...
>
> Since the tar command didn't work in the above scenario, run the
> stat command to see what file the
> tape is positioned at:
> home # mt -f /dev/rmt/1cbn stat
> Vendor 'QUANTUM ' Product 'DLT7000 ' tape drive:
> sense key(0x0)= No Additional Sense residual= 0 retries= 0
> file no= 1 block no= 2
>
> home # /usr/openv/netbackup/bin/tar -tvf /dev/rmt/1cbn
> Blocksize = 126 records
> Hmm, this doesn't look like a tar archive.
> Skipping to next file header...
>
> drwxr-xr-x root/other Jul 27 09:51 1999 /
> drwxr-xr-x root/sys Jul 27 07:36 1999 /etc/
> drwxrwxr-x root/sys Mar 8 14:27 1999 /etc/default/
> -r--r--r-- root/sys Oct 30 16:58 1996 /etc/default/sys-suspend
> -r-xr-xr-x bin/bin Mar 5 12:45 1999 /etc/default/cron
> -r--r--r-- bin/bin Mar 5 12:45 1999 /etc/default/fs
> -r--r--r-- root/sys Mar 5 12:45 1999 /etc/default/inetinit
> -r--r--r-- root/sys Mar 5 12:45 1999 /etc/default/kbd
> -r--r--r-- root/sys Mar 5 12:45 1999 /etc/default/passwd
> -r--r--r-- root/sys Mar 5 12:45 1999 /etc/default/tar
>
> To get the information off of the tape execute:
> /usr/openv/netbackup/bin/tar -xvf /dev/rmt/1cbn -b <BYTESIZE/512>
>
> In this example <BYTESIZE/512> is 32768 / 512, which equals 64.
>
> ----- Original Message -----
> From: Diaz, Gustavo
> To: veritas-bu AT mailman.eng.auburn DOT edu
> Sent: Thursday, February 21, 2002 11:30 AM
> Subject: [Veritas-bu] Reading tar tapes from Netbackup
>
>
> This may be a dumb question but, management is asking me if there
> is any way to read a tar tape created on a SUN box through Netbackup.
> We are running Netbackup Datacenter 3.4.1 on a WIN2K box with a
> STKL180 library with 4DLT8000 drives. They want to be able to read
> DLT tapes sent from customers through Netbackup and dump the contents
> to a directory.
>
> TIA
> Gus Diaz
>
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
|