rdiff-backup using a non standard port on remote’s machine ssh

I had to create a backup system across a network, where I thought using BackupNinja! The tool is really impressive, I mean it! Although it’s features are mostly created for standard working environments and settings, it can be hacked very easy!

The greatest problem I had using it was, yes: “rdiff-backup using a non standard port on remote’s machine ssh“!

The bug actually is not a bug at all, after I found this.

Create a file config in your .ssh directory in the homefolder. It’s structure should look like this:

host name
hostname name.domainname.tld
user an.active.users
port yourport

Guess what, this file saved me a lot of time I would use for searching and debugging through BackupNinja’s code!

Thanks to RiseupLabs for such a great tool!

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile necesare sunt marcate *

*

Poți folosi aceste etichete HTML și atribute: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>