Bummer, forgot to CC this to the group. Kenn
> -----Original Message-----
> From: Kenn Humborg [mailto:kenn at bluetree.ie]
> Sent: 24 February 2000 11:06
> To: Richard.Carroll at 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
> directories
> > 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.
>> Later,
> Kenn
>>>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!