Quote:
Originally Posted by Matrixgl
I am not trying to discourage people from using this hack, but this is just a suggestion for people who wants more features.
The script that I use can be used to make backups of any database, and it has all the features that you probably need.
- Backup multiple databases and servers with different users and passwords.
- Backups can be scheduled using cron (on UNIX systems) or AT (on Windows systems).
- Create daily, weekly and monthly snpashots of your database.
- Keep the daily, weekly and monthly backups for a user-specified time.
- Archive and compress the SQL files (*.tar.gz).
- Creates a detailed report of everything that has been done.
- Reports can be mailed to you or any other user- specified email- address, saved to disk or displayed in browser.
- Generated SQL files can be mailed to you or any other user-specified email-address.
- Generated SQL files can be saved on the server.
- Choose to create SQL files for each table or one for each database.
- No system calls, everything in 100% pure PHP. PHP Safe-mode compatible.
http://restkultur.ch/personal/wolf/scripts/db_backup/
|
The only problem I experienced with this script was when a database copy was already there, and it tried backing it up again, which caused the new backup to increase in size ridicuously (monitored by refreshing on WSFTP) until it just stalled. I have a cron setup obviously.. any advice?
As for
this hack, I had no success in getting my backup. It makes a .tar the size of 1KB without any files.