1833776 Members
1940 Online
110063 Solutions
New Discussion

a bad bad command

 
SOLVED
Go to solution
matthew mills
Frequent Advisor

a bad bad command

I am trying to copy a directroy from one server to another. I can not use tar. I am trying to use fbackup. This is my command that does not work.

remsh ngbva '/usr/sbin/fbackup -v -0i /release' | /usr/sbin/frecover -v -i /release

please fix it!
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: a bad bad command

It really helps to read those pesky man pages. Use -f - on both fbackup and frecover to specify stdout and stdin respectively.
If it ain't broke, I can fix that.
Tim D Fulford
Honored Contributor
Solution

Re: a bad bad command

This should speed things up over the wire...
# remsh "fbackup -f - -0 -i /
This should do the same but slower
# remsh "fbackup -f - -0 -i /" | frecover -x -f -

Regards

Tim
-