-----Original Message-----
From: AragonX [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 8:02 AM
To: [EMAIL PROTECTED]
Subject: Re: backup scripts


Is there an easy way to get dump to put multiple volumes on a single tape?

<quote who="Gordon Messmer">
> tar is fine for getting a directory and its contents, but for anything
> more complex, it's much harder to live with.  cpio and dump are both
> able to back up a directory without its contents, which is important if
> you expect that permissions may change (and should be restored) in an
> incremental backup.  tar handles only the most basic of situations.



use the no rewind device for the tape (/dev/nst0).
i.e. dump three partitions onto one tape:

dump -a0uf /dev/nst0 /dev/sda1
dump -a0uf /dev/nst0 /dev/sda2
dump -a0uf /dev/st0 /dev/sda3 - last one one use the rewind device
(/dev/st0)

also to restore say /dev/sda2:
mt -f /dev/nst0 fsf 1 
restore -if /dev/nst0

man dump
man mt
man st

hth
~smbinyon


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to