From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c09945759f223391 X-Google-Attributes: gid1164f8,public From: schweng@astro.unibas.ch (Hans Schwengeler) Subject: Re: [Q] How to backup data using remote DAT device... Date: 1998/05/25 Message-ID: <35698160.0@maser.urz.unibas.ch>#1/1 X-Deja-AN: 356336933 References: <6kbjgj$kp$1@usenet.kreonet.re.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Newsgroups: comp.sys.dec In article <6kbjgj$kp$1@usenet.kreonet.re.kr>, "DJKim" 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 ===============================================================================