890
edits
m (→Server setup) |
|||
(One intermediate revision by the same user not shown) | |||
Line 26: | Line 26: | ||
PASSPHRASE="the_duplicity_passphrase" /usr/bin/duplicity --exclude-other-filesystems / rsync://clientuser@backup.sudomesh.org/backup/ | PASSPHRASE="the_duplicity_passphrase" /usr/bin/duplicity --exclude-other-filesystems / rsync://clientuser@backup.sudomesh.org/backup/ | ||
</pre> | </pre> | ||
WARNING: Make sure the secure_backup file is only readable by root! | |||
Key-based login has been set up for logging into backup.sudomesh.org by first creating the user clientuser on backup.sudomesh.org with a long random password, and then using ssh-copy-id from the client. | Key-based login has been set up for logging into backup.sudomesh.org by first creating the user clientuser on backup.sudomesh.org with a long random password, and then using ssh-copy-id from the client. | ||
Line 52: | Line 54: | ||
/bin/chmod 640 /home/clientuser/backup/* | /bin/chmod 640 /home/clientuser/backup/* | ||
/bin/chown root. | /bin/chown root.clientuser /home/clientuser/backup/* | ||
</pre> | </pre> |