I'm a novice so go easy. :) If it makes a difference I'm using Ubuntu/Debian machines.
I want to back up our dedicated web server to a local location in-house. This is for many reasons - I know that our web host will back up properly, however there are occasions when we will will release a new website and our clients will want to get access to old data and we will want to roll back to an earlier version of the site, and other similar situations.
I know that to do this I need to use rsync and cron, but I don't know much more than that. The aim is to get the latest backup onto our in-house server and then to push that backup to our network attached storage device where the previous backups are also stored.
So with rsync I will always have the latest version on the in-house server right? Rsync will only transfer files which have updated. Then from there I can run a cron which will push via rsync or SMB to the NAS box?
So my question is, assuming that my method is correct, how would I use rsync to pull down the /home directory on my remote server? Is it an easy process? Is there a beginners guide to rsync?
Can I do rsync from the local machine? We don't have a static ip address and I would like to cron this so that it does a backup automatically every night (or week depending on how long it takes and how much space it takes up).