I previously posted about a non-rsync solution to backup files. Well, that is not efficient, (nor was it working properly, sorry). The script to create the backups is still very handy. Using rsync to sync remote to local I tried rsync to sync files from remote to local and I have to admit it’s blazing…
In this post I’m going to explain to you the backup mechanism behind all my domains. The backups are created automatically and securely downloaded onto another storage. Generating the backup First, I setup a cronjob that creates a package of all relevant content.
0 5 * * * root /root/scripts/backup.sh 2>&1
This job gets executed every morning at 5 o’clock. The script…