The third level in backup security and one of the most important is to be able to store backups in a place different than the production place, well known as Keep backups off-site. Currently taking advantage of free services like gmail, it´s much easier to fulfill this third level of backup security and to have all your backups available through an internet connection. Here I show a homemade script that does the following steps.
- Compress your web server, database and svn repository
- Encrypt compressed files with openssl
- Send those files to a gmail account
- Clean gmail account removing old backups





