ubuntu:backups:rdiff_backup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:backups:rdiff_backup [2019/11/26 20:39] – [Copy the public key for host2] peter | ubuntu: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 |
</ | </ | ||
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)