From: Kenn Humborg (kenn at domain bluetree.ie)
Date: Thu 24 Feb 2000 - 11:06:50 GMT
Bummer, forgot to CC this to the group. Kenn
> -----Original Message-----
> From: Kenn Humborg [mailto:kenn at domain bluetree.ie]
> Sent: 24 February 2000 11:06
> To: Richard.Carroll at domain bull.ie
> Subject: RE: [ILUG] CPIO & TAR restore with RedHat 6.1
> > Tape 1. find / -depth -print | cpio -ovBc >/dev/st0
> > and
> > Tape 2. find / -depth -print | cpio -ovBc -H newc >/dev/st0
> > and
> > Tape 3. tar cvf /dev/st0 /
> You really want to back up everything except /proc and any remote
> filesystems (such as NFS or smbfs).
> > I scrubbed and re-installed a minimal RH61 with the same partitions and
> > sizes.
> Nope. Restoring on top of a running system with tar or cpio is tricky.
> You might be able to do it with dump/restore. Mike Knell is the
> expert on this. Can you confirm/deny this, Mike?
> > So short of doing any fancy scripting where one skips certain
> > on the way out or the way in from tape, has anyone else had
> any similiar
> > funnies when trying to do a full restore. Obviously, I am looking
> > at trying
> > to restore a working system as quickly as possible so a minimal install
> > followed by a full restore seems good to me.
> Get your hands on an emergency rescue disk that contains your SCSI drivers
> and either tar or cpio, whichever you use for your backups. Redhat
> comes with some sort of rescue mode, where a minimal system is loaded
> from the installation CD.
> Then, to restore, you partition your disks, mount them under, say, /mnt,
> cd into /mnt and restore there. If you have multiple partitions, say /,
> /home and /usr, then you'd do:
> # mount -t ext2 /dev/hdaX /mnt
> # mkdir /mnt/usr
> # mount -t ext2 /dev/hdaY /mnt/usr
> # mkdir /mnt/home
> # mount -t ext2 /dev/hdaZ /mnt/home
> # cd /mnt
> # tar xvf /dev/st0
> # umount /mnt/home
> # umount /mnt/usr
> # umount /mnt
> where X, Y and Z are the partition numbers.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:29 GMT