From: schweng@astro.unibas.ch (Hans Schwengeler)
Subject: Re: [Q] How to backup data using remote DAT device...
Date: 1998/05/25 [thread overview]
Message-ID: <35698160.0@maser.urz.unibas.ch> (raw)
In-Reply-To: 6kbjgj$kp$1@usenet.kreonet.re.kr
In article <6kbjgj$kp$1@usenet.kreonet.re.kr>,
"DJKim" <djkim@ctrsys.kaist.ac.kr> writes:
> please help me!
> I want to backup data using remote DAT device.
> And I know the command only "rdump" and "rrestore".
> But i don't know exact method to using them.
> I have a DAT media (120m, 4.0Gbyte, 8mm).
>
>
Dear DJKim,
I used the following shell script to backup all data from
one DU 4.0D machine to another with a local DAT drive attached to it:
cp /etc/motd /etc/motd.old
cat /etc/motd.old /info_backup > /etc/motd
rdump -f saturn:/dev/nrmt0h -0u -b 64 -d 61000 -s 2640 /
rdump -f saturn:/dev/nrmt0h -0u -b 64 -d 61000 -s 2640 /usr
rdump -f saturn:/dev/nrmt0h -0u -b 64 -d 61000 -s 2640 /usr1
rdump -f saturn:/dev/nrmt0h -0u -b 64 -d 61000 -s 2640 /usr2
rdump -f saturn:/dev/nrmt0h -0u -b 64 -d 61000 -s 2640 /usr3
rdump -f saturn:/dev/nrmt0h -0u -b 64 -d 61000 -s 2640 /hst1
rdump -f saturn:/dev/nrmt0h -0u -b 64 -d 61000 -s 2640 /hst2
rdump -f saturn:/dev/nrmt0h -0u -b 64 -d 61000 -s 2640 /hst3
rsh saturn mt offline /dev/nrmt0h
cp /etc/motd.old /etc/motd
The file /info_backup looked as follows:
Backup is running on this system...
I needed a /.rhosts file on the target host (i.e. on saturn), allowing
host access (for user root).
I started the script (called backup_full_on_saturn) with the command:
./backup_full_on_saturn >& backup_full_on_saturn_log &
This started the backup immediately and saved the log into the
file /backup_full_on_saturn_log and ran in the background.
A variant of this was to start the script via the command 'at'
(say 'at 23:00 ./backup_full_on_saturn').
The -b option gives a larger block size and makes the
rdump abaout 3 times faster than with the default block size
(I think this would be -b 10). The size (-s option) is for
90m tapes. You might just specify a number that gives some
reasonable estimate for the total number of volumes used.
Yours, Hans.
--
===============================================================================
Hans Schwengeler DECNET/SPAN: 20579::48130::SCHWENGELER
Astronomical Institute INTERNET: schweng@astro.unibas.ch
University of Basel schwengeler@urz.unibas.ch
Venusstrasse 7
CH-4102 Binningen PHONE: +41 61 20 55 422
Switzerland FAX: +41 61 20 55 455
===============================================================================
prev parent reply other threads:[~1998-05-25 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-25 4:00 [Q] How to backup data using remote DAT device DJKim
1998-05-25 4:00 ` Hans Schwengeler [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox