Ufsdump over the Network?

From: rmckeever (rmckeever@earthlink.net)
Date: Tue Sep 17 2002 - 18:09:00 EDT


Hello,

Im using ufsdump over the network with ssh.

Machine A has tape drive and Machine B is the system Im backing up.

Machine A fires off a script that does this:

/usr/sbin/ssh machineB /usr/sbin/ufsdump 0f - $filesystem | ssh machineB "cat
- > /dev/rmt/1ln"

Now, it works well for a small file system.
But some filesystems I get this error:

  DUMP: Writing 32 Kilobyte records
  DUMP: Date of this level 0 dump: Tue Sep 17 14:42:45 2002
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c0t0d0s6 (machB:/usr) to standard output.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Estimated 3423476 blocks (1671.62MB).
  DUMP: Dumping (Pass III) [directories]
  DUMP: Dumping (Pass IV) [regular files]
cat: output error (0/8192 characters written)
Invalid argument

What am I doing wrong? Should I use something other than cat ??

The reaseon im sshing from MachA into MachB then back to MachA is I only want
one script to fire from one machine.

Any ideas, suggestions, thanks in advance.

Regards,
RM
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:57 EDT