Re: Remote dumps

"John Levine" <[email protected]>
Newsgroups gmane.os.freebsd.questions
Organization Taughannock Networks
Message-ID <[email protected]>
It appears that Doug Hardie <[email protected]> said:
>master#   DUMP: master: Connection refused
>  DUMP: login to master as root failed.
>
>That doesn't seem to make any since.  Both dumps are run as root.  Somehow the login process is not functioning properly.  How do I
>track down that problem?  When I try to run dump on mail, I get a similar error:

That's not surprising.  As the dump man page says, if you use user@host:file
syntax, it runs the antique rmt program which probably doesn't do what you
want.

The easiest approach is to mount the dump volume with NFS, and dump
to it that way.  Be sure to set -maproot to something reasonable in the
exports file.

Or something like this:

dump -h0 -0aLf - / | ssh master "dd of=/dumps/mail.dump"

R's,
John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.