Andrew,
The last tape file in a NetBackup NDMP job is a copy of the NetBackup
metadata catalog. If you backed up a single path there will be only
2 tape files - the first is the NDMP data.
The NDMP data is wrapped. There are 2 blocks before it (1024 bytes
and 512 bytes) and 1 block after it (512 bytes).
To restore manually use the "mt" command or equivalent to skip the
first two blocks.
>From: Andrew Wilkin <Andrew.Wilkin AT ditm.nsw.gov DOT au>
>To: "'veritas-bu AT mailman.eng.auburn DOT edu'" <veritas-bu AT
>mailman.eng.auburn DOT edu>
>Subject: [Veritas-bu] Doing a NDMP recovery on a SUN system
>List-Subscribe: <http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu>,
<mailto:veritas-bu-request AT mailman.eng.auburn DOT edu?subject=subscribe>
>List-Unsubscribe: <http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu>,
<mailto:veritas-bu-request AT mailman.eng.auburn DOT edu?subject=unsubscribe>
>List-Archive: <http://mailman.eng.auburn.edu/pipermail/veritas-bu/>
>Date: Mon, 1 Jul 2002 16:49:06 +1000
>
>Hi Group,
>
>I'm doing a test to enable me to restore a NetBackup NDMP Backup (Client is
>a NetApp) on a SUN system. From the reading I've done I believe this to be
>possible, as the "dump/restore" used within NDMP are compatible with Solaris
>ufsdump/ufsrestore commands.
>
>I've made a new NDMP backup to a new tape, and two files were created. The
>files on the tape where some sort of header file and the dump of the data. I
>then extracted the two files off the tape with 'dd' to a local SUN file
>system for the recovery. When I try to extract the data using 'ufsrestore' I
>get a message saying it's not a dump format. The command I'm using to try
>and do the extraction is:-
>
>dd if=file2.dat | ufsrestore tvf -
>
>where "file2.dat" is the second of the two files extracted from the tape,
>what I believe is the dump file.
>
>Any clues as to what I'm doing incorrectly?
>
>The purpose of this test is to enable me to restore NDMP files if my NetApp
>system is down.
>
>Thanks, I shall summarise.
>
>
>Regards
>
>Andrew Wilkin
>Computer Systems Analyst
>
>Department of Information Technology & Management
>Land & Property Information - New South Wales
>
>Panorama Ave
>BATHURST, NSW, 2795, AUSTRALIA
>
>Ph: (02) 6332 8397
>Fx: (02) 6332 8457
>E-mail: Andrew.Wilkin AT ditm.nsw.gov DOT au
>WEB: www.lpi.nsw.gov.au <http://www.lpi.nsw.gov.au>
>
>
>
>***************************************************************
>This message is intended for the addressee named and
>may contain confidential information. If you are not the
>intended recipient, please delete it and notify the sender.
>Views expressed in this message are those of the
>individual sender, and are not necessarily the views of the
>Department of Information Technology & Management.
>
>This email message has been swept by MIMEsweeper
>for the presence of computer viruses.
>***************************************************************
>
>_______________________________________________
>Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
__________________________________________________________________________
Steve Kappel steve.kappel AT veritas DOT com
VERITAS Software (Engineering) steve AT stevekappel DOT com (Personal)
|