This is a python backup script on server side. Which script archive all files newer than last backup into a tar.gz file, and send this file to assigned email address. This script is a simple but effective solution for virtual host files backup. It records all versions of modified files, but remembers no delete operation. When we need specific version of a file, we can find related tar.gz file and decompress it to get the needed files.
I use this script to backup files on Lunarpages' virtual host.
Chinese document for this script can be access at MailDiffBackup
On this page... (hide)
- 1. Requirement
- 2. Download
- 3. User guide
- 4. Known problems
1. Requirement
- Python 2.3 or higher
2. Download
Version 0.1: Attach:MyProject/MailDiffBackup_0.1.zip
3. User guide
Make use of Cron service, we can execute this script periodically. On Lunarpages, we can set
4. Known problems
This script has not ensure the incremental backup file is smaller than mail server's attach file size limitation. If the incremental backup file is too large sometime, then I suggest to reduce the backup interval, so the incremental backup file will become smaller.