[95943] in RedHat Linux List

home help back first fref pref prev next nref lref last post

remote backup using ssh/dump

daemon@ATHENA.MIT.EDU (Alex Vorobiev)
Thu Oct 22 11:52:39 1998

From: Alex Vorobiev <sasha@forum.swarthmore.edu>
To: redhat-list@redhat.com
Date: Thu, 22 Oct 1998 11:44:46 -0400 (EDT)
Cc: staff@forum.swarthmore.edu
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

- RH5.1 on client/server
- dump/restore on client/server
- server's root has passwordless ssh access to client root

my goal is to dump client's disks to server's tape.  i would like to 
avoid using the operator scheme, where i would have to 
change permissions on rmt/rrestore, as well as disk devices (which is 
necessary to enable the client operator can do remote dump to server).

as root@server, i do the following:

SERVER# (ssh CLIENT /sbin/dump 0uBf 4000000 - / ) | dd of=/dev/nst0 bs=1024

dump completes successfully.  i can't restore, however:

restore if /dev/nst0 
resync restore, skipped 1 blocks
Checksum error 22513526310, inode 2023 file <directory file - name unknown>
resync restore, skipped 15 blocks
resync restore, skipped 17 blocks
resync restore, skipped 17 blocks
Checksum error 1644533051, inode 4156 file <directory file - name unknown>
resync restore, skipped 15 blocks
Checksum error 10255611721, inode 6049 file <directory file - name unknown>
Segmentation fault

am i using incorrect block size, or is dd mangling the dump stream?

alternative solutions welcome.

--sasha/sasha@forum.swarthmore.edu


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post