Summary: Backup - ufsdump question

From: falbu@amnesty.org
Date: Wed Dec 08 1999 - 10:25:17 CST


Thanks to all who replied. The original message is at the end.

The idea is that ufsdump will only backup more than one file / directory if
they reside on the same partition. When it comes to partitions, ufsdump
will back up one partition at a time.

In order to back up multiple partitions I should use non-rewinding devices
(like /dev/rmt/0n) and run the ufsdump command several times. Hence
subsequent dumps will start from the end of the first dump.

Also people sugested to use mt to control the tape before, in-between and
after writing to it. It will write EOF after each backup.

Here is an example (from Benedetto Lo Giudice)

>...

>mt -f /dev/rmt/0cn rewind
>ufsdump 0f /dev/rmt/0cn /
>mt -f /dev/rmt/0cn weof
>ufsdump 0f /dev/rmt/0cn /usr
>mt -f /dev/rmt/0cn weof
>ufsdump 0f /dev/rmt/0cn /opt
>......
>mt -f /dev/rmt/0cn rewoffl (rewind and offline tape).
>

>to restore
>from backup 1
>ufsrestore if /dev/rmt/0cn (interactive)
>

>from backup 2
>mt -f /dev/rmt/0cn fsf 1 (forward end of file 1)
>ufsrestore if /dev/rmt/0cn

--------------------------------------------------------------

Hello, Sunmanagers!

I have some difficulties in backing up a Solaris 7 system.

I am trying to use ufsdump to back up several filesystems.

I tried
# /usr/sbin/ufsdump 0ouf /dev/rmt0 /dev/rdsk/c0t0d0s0
/dev/rdsk/c0t0d0s3
to back the two filesystems on the first tape drive, epoch level, eject
tape and update the /etc/dumpdates file.
The result was that only the first partition was backed up.

I tried again, this time using mount points
# /usr/sbin/ufsdump 0ouf /dev/rmt0 / /var

The result was the same, only the / filesystem was backed up.

Isn't it possible to back up multiple filesystems on the same command?

What should I use to back up all these on the same tape?

Thanks,
Florentin Albu

Client-Server Systems Manager
falbu@amnesty.org
_________________________________________________________
                      Amnesty International, International Secretariat
                                visit us at http://www.amnesty.org

Be Realistic! Plan for a Miracle!



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:34 CDT