LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Dale Long <dalel@loftuscomp.com.au>
To : Martin Stacey <martin@safcol.com.au>
Date: Thu, 28 Dec 2000 10:42:39 +1030 (CST)
Re: Dump/Restore commands
On Thu, 28 Dec 2000, Martin Stacey wrote:
> Does anyone out their use the Dump/Restore commands to do backups? I used
> the following commands to backup two partitions to a DDS3 tape;
>
> /sbin/dump -0u -a -b 64 -f /dev/nst0 /
> /sbin/dump -0u -a -b 64 -f /dev/nst0 /home
>
> Using the command [ /sbin/restore -if /dev/nst0 ] I can find the backup of /
> on the tape. How do I find the backup of /home on this particular tape?
If you do another restore, it should read in the next file on the tape
(/home).
Have a look at the 'mt' man page.
'/dev/tape' is the 'default' device. On your system it should be a link to
/dev/nst0. Otherwise you need to specify the tape device, eg: 'mt -f
/dev/nst0 .....'.
There are commonly used (where x is the number of files on tape):
mt rewind
mt offline
mt asf x
mt fsf x
You can then position the tape at the required file on the tape and the do
a restore.
Dale.
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page