Several times I’ve had to configure automated backups for my machines, and each time I do, a long enough period has elapsed since the previous time that I forget all the important details. So this little tutorial is as much to help me remember (and to keep a record and to trace the steps) as for other users.
1. What You Need
a) ssh (should be installed by default) and rsync (“sudo apt-get install rsync” if you don’t already have it).
b) Users on both machines (the source machine and the destination machine), ideally with the same username (so: if user “ross” exists on source machine, user “ross” should also exist on destination machine).
c) ssh and rsync installed on both machines.