[Dirvish] Setting up new backup
wes
dirvish at the-wes.com
Wed Oct 23 21:53:25 UTC 2019
On Wed, Oct 23, 2019 at 2:13 PM Rich Shepard <rshepard at appl-ecosys.com>
wrote:
> On Wed, 23 Oct 2019, wes wrote:
>
> > I think this is what is telling dirvish that it's a remote vault. However
> > I am not sure what the correct term here would be. If you run the
> > "hostname" command on your terminal, what do you get?
>
> $ echo $HOSTNAME
> salmo.appl-ecosys.com
>
> > Also, if you run "ping almost.appl-ecosys.com" what does it say the IP
> > address it's trying to reach is?
>
> $ ping almost.appl-ecosys.com
> ping: unknown host almost.appl-ecosys.com
>
>
*sigh* I mean salmo instead of almost. Autocorrect is annoying.
>From howto-dirvish.html:
>
> Defining default.conf
> ...
> First, the client specifies the host target. client is the hostname, and
> possibly username, necessary to access the filesystem on the target machine
> specified by tree.
>
> client: root at some.example.com
>
> For example, the above client directive instructs Dirvish to use the system
> named some as the target and connect as the root user. If you omit the
> user,
> Dirvish will connect as the user running the dirvish binary, generally the
> root user.
>
> client: 192.168.25.1
>
> As demonstrated above, you can also specify the IP address of the target
> system.
>
> Last, you must specify which path you want to backup with the tree
> directive. Generally this will be aligned with a filesystem boundary, but
> you can backup any path you wish.
>
> client: root at sarah.example.com
> tree: /
> xdev: 0
> index: gzip
>
> Regards,
>
> Rich
>
>
I suspect that it's been treating the local vault as remote all along, and
it used to work because the SSH key pair was enabled for root on the old
system. The easiest solution would be to enable the key pair on the new
system. You would need to put the public key from the pair you generated
recently into /root/.ssh/authorized_keys
The "correct" solution would be to instruct dirvish that the vault and the
backup target are on the same system, to keep it from trying to create a
remote connection. I don't know enough about how dirvish works to tell you
how to do that.
-wes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dirvish.org/pipermail/dirvish/attachments/20191023/ef80baa3/attachment.htm>
More information about the Dirvish
mailing list