restore dumps to new disk?

restore dumps to new disk?

Post by Chris Boy » Tue, 26 Nov 1996 04:00:00



The handbook describes how to restore a system backup made by
tape dumps (using dump) of the file systems after a disaster. I
assumed that applies to the same disk or a direct replacement.

Or is it possible to use a quite different size and possibly
even different interface. Replace an IDE with SCSI for instance.

Providingi, of course that the disks are partitioned (Unix) in
the same way, although of a different size.

A tar backup would be OK, even with a different partition scheme.
However does (g)tar backup device files, even those large minor
no's now in FreeBSD?

Just a bit confused on backup policy. Since all my experiance has
been with Interactive SVR3 and 3rd party backup software. Don't
all laugh :-)

Thanks.

      Chris

--

For information about Multiple Sclerosis on the WWW   http://www.infosci.org/

 
 
 

restore dumps to new disk?

Post by Jan van den Bos » Tue, 26 Nov 1996 04:00:00



>The handbook describes how to restore a system backup made by
>tape dumps (using dump) of the file systems after a disaster. I
>assumed that applies to the same disk or a direct replacement.
>Or is it possible to use a quite different size and possibly
>even different interface. Replace an IDE with SCSI for instance.

Usefull information is in the Unix System Manager's Manual (SMM)
of BSD4.3 in chapter 6.4 'Moving file system data'.
Yuo could even move filesystem data from one to another filesystem
using a pipe with dump/restore. (only restriction: it should fit
in it)

Quote:>Providingi, of course that the disks are partitioned (Unix) in
>the same way, although of a different size.
>A tar backup would be OK, even with a different partition scheme.
>However does (g)tar backup device files, even those large minor
>no's now in FreeBSD?

Tar must be used if you want to merge a filesystem into another.

Quote:>Just a bit confused on backup policy. Since all my experiance has
>been with Interactive SVR3 and 3rd party backup software. Don't
>all laugh :-)
>Thanks.
>      Chris

- Jan
>--

>For information about Multiple Sclerosis on the WWW   http://www.infosci.org/



 
 
 

restore dumps to new disk?

Post by J Wuns » Wed, 27 Nov 1996 04:00:00



> The handbook describes how to restore a system backup made by
> tape dumps (using dump) of the file systems after a disaster. I
> assumed that applies to the same disk or a direct replacement.

> Or is it possible to use a quite different size and possibly
> even different interface. Replace an IDE with SCSI for instance.

It is.  While dump(8) reads the raw device (so you can dump an
unmounted filesystem), the dump tape itself is written in a format
that allows restoring onto a different disk easily (unlike dd(1) which
is the logical predecessor of dump(8)).

Quote:> Providingi, of course that the disks are partitioned (Unix) in
> the same way, although of a different size.

As long as everything fits, it is okay.

Quote:> A tar backup would be OK, even with a different partition scheme.
> However does (g)tar backup device files, even those large minor
> no's now in FreeBSD?

No, it doesn't, nor is it able to restore the file flags (see
chflags(1)).  cpio can backup the large dev nodes in -H crc or -H newc
mode, but can't cope with the file flags either.

--
cheers, J"org


Never trust an operating system you don't have sources for. ;-)

 
 
 

restore dumps to new disk?

Post by J Wuns » Thu, 28 Nov 1996 04:00:00



Quote:> >A tar backup would be OK, even with a different partition scheme.
> >However does (g)tar backup device files, even those large minor
> >no's now in FreeBSD?
> Tar must be used if you want to merge a filesystem into another.

Actually not.  While dump(8) can only dump entire filesystems,
restore(8) can perfectly merge multiple dumps into a single
filesystem.

--
cheers, J"org


Never trust an operating system you don't have sources for. ;-)

 
 
 

1. Dump and restore to a new disk

Hello,

I have installed a computer with RedHat 7.3 and now I made a dump of
each partitions (/, /usr and /var) using the dump command and have put
dumps safe on an NFS server. Now I was asking me what's the restore
procedure ?

Let's say I whipe out the whole disk and would like to restore the
system as before from my dumps. Can someone give me a few steps on how
to acheive that ?

What's my problem currently is that:

- how do I get the network access to the NFS server where the dumps are
located on ?
- how do I get the hardisk to boot again I guess i need something which
reinstalls the boot block btw I am using grub and not lilo.

Many thanks in advance for your help

Regards

2. open software security issues?

3. unix dump: dumped twice to same dumpfile; restore if file displays only last dump

4. doom for linux

5. help. restoring a backup dump/restore

6. shutdown(s, 2) vs close(s) for closing unix domain sockets

7. Anyone dump/restore OpenBSD to a disk for me?

8. Probes on Port 1104

9. Star, a new OS/filesystem independent incremental dump/restore system

10. 'r' option of restore (dump/restore)

11. Anyone dump/restore OpenBSD to a disk for me?

12. Help with dump/restore ("Tape is not a dump tape")

13. Dump/Restore problem: multiple dumps per Travan 5 tape