Making a backup is a must. And although doing it manually works, it is far from perfect. What if you are busy one week and can't run your backup?
And then there is the question about what method to use. Do you go with a commercial solution? Or one of the free alternative systems?
Why not go outside your comfort zone and use a standard tool?
Well that's what I thought anyway...
Let's first take a look at the actual script:
I have tried to make the comments as explanative as possible.
Now the only thing necessary is to add it to crontab and you're set to go.
If you have questions or you find an error, please leave a comment.