Re: Identifying a backup format from a tape



yssong66@xxxxxxxxx <yssong66@xxxxxxxxx> wrote:

Hi,


I've got some disk failure on a very old HP-UX server recently and am
trying to restore data from tapes (DDS3 type).

I don't know what backup utility had been used on these tapes, so I
did:

# mt -t /dev/rmt/0mn rewind
# mt -t /dev/rmt/0mn fsf (since the 1st segment doesn't seem to have
anything)
# mt -t /dev/rmt/0mn fsf (same case for the 2nd segment)
# dd if=/dev/rmt/0mn of=/tmp/file bs=1024k (on the 3rd segment)

and /tmp/file was generated to show the index of files that had been
backed up, so I know what files had been included in the backup on
this tape.

This output file shows many files from all different filesystems (/, /
var, /usr, /data, /data2, etc.), so I assume that it's not a dd format
backup.

Now, how would I be able to identify the backup format and restore the
actual data? I tried tar, gtar, cpio, and even dd but it hasn't been
successful.

As Scott hinted at, it may well be in fbackup format, i.e. you can try
to use frecover to restore it. First use the '-I' option to get the
index from/off the tape.

In any case: You said:

# mt -t /dev/rmt/0mn rewind
# mt -t /dev/rmt/0mn fsf (since the 1st segment doesn't seem to have
anything)

Please redo the rewind an *do* read the first record, i.e.

# dd if=/dev/rmt/0mn of=/tmp/file bs=1024k (on the 3rd segment)

and check the size of /tmp/file. If it's 80 bytes, then the format is
most likely fbackup format and the /tmp/file file should be in readable
ASCII format.

Please report back with your findings.
.



Relevant Pages

  • RE: SBS 2003 Standard Restore from tape
    ... I suggest you write protected the tapes before we perform restore. ... Put the tapes back into the drive and receive an message "New Import ... 244923 Deleting Backup Catalog May Erase Backup Set Member Tapes ... 249120 How to Maintain Fully Populated Windows 2000 Backup Catalogs ...
    (microsoft.public.windows.server.sbs)
  • Re: Backup for use with a Mirror?
    ... Thank you for the quick replies, I will ignore FORMAT for now. ... back up a transaction log to the same BAK file as a full backup - is that correct - I didn't know you could do that - I've always had separate physical files. ... Partner - Restore Log WITH NORECOVERY ...
    (microsoft.public.sqlserver.server)
  • Re: Backup question from MCSE
    ... store must be online with in 1 hour or less. ... regular snapshot backups and restore them. ... Memory requirements will be greater but backup times will be ... Perform differential backup to tapes from every Sunday through Friday. ...
    (microsoft.public.exchange2000.admin)
  • Re: Qs on dump(8) and restore(8)
    ... Dump levels are a flexible way of implementing incremental backups. ... sets of tapes should be found to be substandard. ... People with more money (or backup media) than is good for them can ... minimizes the amount of effort required to restore the system to the ...
    (freebsd-questions)
  • Re: VERY VERY URGENT !!!! legato networker old index
    ... Your backup plan MUST ensure that everything you may need is backed up and that the tapes will be retained at least until replaced with a fresh backup! ... I would not rely on a product that does not write to tape EVERYTHING needed to restore a file system. ... When I ship a backup tape off site, I expect to have sent everything necessary to restore that file system even if I have to do the restore in a disaster recovery hot site. ...
    (comp.unix.solaris)

Loading