Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* [Q] How to backup data using remote DAT device...
@ 1998-05-25  4:00 DJKim
  1998-05-25  4:00 ` Hans Schwengeler
  0 siblings, 1 reply; 2+ messages in thread
From: DJKim @ 1998-05-25  4:00 UTC (permalink / raw)



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).





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Q] How to backup data using remote DAT device...
  1998-05-25  4:00 [Q] How to backup data using remote DAT device DJKim
@ 1998-05-25  4:00 ` Hans Schwengeler
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Schwengeler @ 1998-05-25  4:00 UTC (permalink / raw)



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
===============================================================================



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-05-25  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-25  4:00 [Q] How to backup data using remote DAT device DJKim
1998-05-25  4:00 ` Hans Schwengeler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox