Welcome to the new location of Alien's Wiki, sharing a single dokuwiki install with the SlackDocs Wiki.

Welcome to Eric Hameleers (Alien BOB)'s Wiki pages.

If you want to support my work, please consider a small donation:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
linux:rsnapshot [2008/11/24 22:08] – Some clarifications and re-formatting. alienlinux:rsnapshot [2008/11/24 22:19] – Add 'testing remote login' alien
Line 93: Line 93:
 </code> </code>
   * Add this line to ''/etc/sudoers'' so that user ''rbackup'' can run the wrapper's ''rsync'' command with //root// privileges: <code>rbackup ALL = NOPASSWD: /usr/bin/rsync</code>   * Add this line to ''/etc/sudoers'' so that user ''rbackup'' can run the wrapper's ''rsync'' command with //root// privileges: <code>rbackup ALL = NOPASSWD: /usr/bin/rsync</code>
 +
 +=== Testing remote login ===
 +
 +When all configuration is complete, and before your scheduled cron jobs start, you should test whether the non-interactive passwordless login from the rsnapshot server to the remote //rbackup// account is functional.\\ You need to make a ssh connection at least once, to add the public key of the remote machine to your root account's //''known_hosts''// file. <code>
 +# ssh rbackup@client.my.lan
 +Rejected 3
 +Connection to client.my.lan closed.
 +</code> The "''Rejected 3''" message actually means that your configuration was successful!
  
 The rsnapshot backup solution ()
SlackDocs