EDIT: I have completely changed the question.
I want to use Amazon S3 for my backups and I am looking for a debian lenny software (or a php script) that could allow me to achieve what I need. It is a flash games website:
- Upload all files and subdirectories from the specified directories, but only uploading the files that were added/changed (overwrites old files on S3).
- Perform a database dump and upload it to S3, keeping only 7 previous dumps.
- Lightweight and easy to use
- It has to be possible to run it as a cron job
- Should work on Debian Lenny
Anything that matches all these specifications?
The PHP script Website 2 Backup does exactly what you want :
And it does more, data encrypted on serveur, data recovery with few clicks….