ubuntu:backups:rdiff_backup

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:backups:rdiff_backup [2019/11/26 20:39] – [Copy the public key for host2] peterubuntu:backups:rdiff_backup [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 42: Line 42:
   * The script to launch the backup has to be on host1, which will connect to host2 by SSH and retrieves data from it.   * The script to launch the backup has to be on host1, which will connect to host2 by SSH and retrieves data from it.
   * Both computers must have the rdiff-backup script installed, preferably at the same version.   * Both computers must have the rdiff-backup script installed, preferably at the same version.
- 
-On the host1 (the command is performed using the root account): 
  
 ---- ----
  
 ===== Create a key pair to log in via SSH ===== ===== Create a key pair to log in via SSH =====
 +
 +On the host1 (the command is performed using the root account):
  
 <code bash> <code bash>
-ssh-keygen -t rsa+sudo ssh-keygen -t rsa
 </code> </code>
  
Line 109: Line 109:
  
 ===== Restart SSHD ===== ===== Restart SSHD =====
- 
  
 <code bash> <code bash>
ubuntu/backups/rdiff_backup.1574800797.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki