I need a suitable backup automation script that will run in PHP on my apache server.
Some of my sites run Drupal. Which is the most suitable method to automatically backup both the code and the database?
I need a suitable backup automation script that will run in PHP on my apache server.
Some of my sites run Drupal. Which is the most suitable method to automatically backup both the code and the database?
You should consider using tar in a daily script for your websites, and for the database, just dump it:
mysqldump -u USER -p DATABASE > filename.sql