Backup woes

Dirvish is a relatively nice disk backup program for linux and under certain conditions windows too. Unfortunately it likes to default to SSH to do the file transfers. It is not its fault directly because it is using RSYNC and RSYNC likes to use RSH/SSH unless one tweaks it.

But how do you actually tweak dirvish to use a native rsync protocol, that is without SSH as transport and without altering the code ? It only took me 1/2 a day to find out. Here is how

In every vault’s default.conf file there is the tree: line that specifies the top level the backup should start with. Plug there the rsync server’s module name prepended by colon like so

tree: :root

And of course you have to make sure that the rsync server contains a [root] stanza.

Done.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: