[Veritas-bu] problem with restore

2003-12-02 21:51:00
Subject: [Veritas-bu] problem with restore
From: mb AT unixusa DOT com (Mickey Baker)
Date: Tue, 2 Dec 2003 21:51:00 -0500
If the tape were intact (had not been written again and a file appended), a
tar restore from the absolute tape might be possible, up until the point it
failed. The catalog would know nothing of this data, but the sequential file
would be there. 

Most likely a tar extract would restore everything up until but not
including the final file being backed up. Remember, files written to tape
are sequential files (unless multiplexed) and one tape block written
sequentially doesn't know what is further down the tape. tar will happily
read files until it hits the error at the end of the tape.

This is one of the BIG advantages of NetBackup over The Other Packages.


-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com] 
Sent: Tuesday, December 02, 2003 6:26 PM
To: 'Mickey Baker'; James Mattice; Veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] problem with restore

If the backup of the client didn't complete, I don't think a restore of the
incomplete filesystem is possible.  You'd get a disconnect error when the
client crashed and the partial image would've been discarded.

-----Original Message-----
From: Mickey Baker [mailto:mickeyb AT mindspring DOT com]
Sent: Monday, December 01, 2003 4:27 PM
To: James Mattice; Veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] problem with restore

Your getting a "cannot connect on socket" error. Is bpdbm running? 

I suspect a database problem. There are some steps documented in the
troubleshooting guide about how to setup a bpdbm log directory, which will
create diagnostic logs that will point you in the right direction.

Since you are recovering after a crash during a backup, how did you restore
the catalog? Are you using the catalog on the disk as it existed during the
crash? If so, it may have inconsistencies and not be usable - even if you
have added data to if since the crash, so it bears some time investigating
the problem.

You said everything from the first two volumes restored okay?

You might want to do a veritas tar restore on the final tape to get
everything, or try to import the tape. Either of these options will be time
consuming and might result in a less than satisfactory outcome.

Have fun and good luck!

Mickey Baker

-----Original Message-----
From: James Mattice <jmattice AT stlawu DOT edu>
Sent: Dec 1, 2003 5:37 PM
To: Veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] problem with restore

We are having problems running restores against an incremental backup 
that was occurring when a server failed (crashed and lost data 
volumes).  Two of the volumes from the server had successfully completed 
their backups, the other three volumes didn't make it.  We are running 
NB 4.5 latest on Windows 2000 server with a Netware 6 client (latest).

When we try a restore job with just the single incremental selected here 
what you get
1.  You can successfully browse the file list and select files to restore.
2.  When you select a file and initial the restore, it creates a new 
restore job.
3   The system determines 1 image is needed for the restore and the tape 
which contains the image.
4.   The backup server sits there until it eventually errors with status 
code 25.

All of our other incrementals and fulls restore just fine.  I didn't 
find anything obvious in the logs on either the server or the client, 
but then again I'm not sure which logs would be the best to examine.

Fortunately, there wasn't a lot on the backups, but still it would be 
nice to get "everything".

Any thoughts?

- James

Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu

Mickey Baker
Parkland, FL
"Is a sentence fragment" is a sentence fragment.
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu

<Prev in Thread] Current Thread [Next in Thread>