[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

remote backup using ssh/dump



- 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]