By jfaberna on
What is the best way to backup the content and settings for Drupal, and my data? I thinking here about how to rebuild a site quickly in case of a failure. I'm using Drupal on top of XAMPP and XAMPP has a backup script to save it's data. Not sure if that also saves the Drupal data?
Comments
Best practices
Backing up your Drupal installation consists mainly of two parts: 1) the database 2) files and is covered in the handbook chapter Best practices. This chapter is worth a read!
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
dba module does automated database backups
The dba module (CVS version I think) does automated/scheduled database backups. You can configure it to copy the backed up database file (possibly compressed) to another folder or mail it to a particular address.
For backing up your files and folders you can write a PHP or Perl script to do the needful.
My Drupal-powered Blog: ThoughtfulChaos
Backup
The XAMPP backup script does a database dump and saves the entire web tree, so it will back up all Drupal data. Besides that, you should save all installed packages to make sure that you can rebuild to your working set of module versions even if the tree has been corrupted!
The "best way" available to Drupal users right now would be using a Postgresql 8 installation with continuous WAL backup to tape or a second server. This allows to restore right up to the very crash (or to step back to any desired past state of the database). Given suitable hardware and power conditioning that setup can be extended to a zero loss solution...
Sevo
Thanks for the elp
Sounds like, since I'm using XAMPP, that its backup scirpt will save everything including all of drupal. I'll use that for now.
Jim Abernathy<\>