21

Nearly all the documentation on backing up my Drupal site seems to require using the command line. My hosting service does not provide command line access. How do I backup my site without using the command line?

27

I'd go with the Backup and Migrate module. You can either start backups manually or have it run automatically on cron run. Then you can just download your /sites/ folder and you should have a full backup of everything (assuming your files, modules and themes are all in /sites/ like they should be.)

  • 2
    This is the must-have module of almost all Drupal sites. – Randy Burgess Mar 2 '11 at 23:52
  • 1
    Why isn't it part of Core? – Alex Basson Mar 9 '11 at 22:04
11

The "Backup and Migrate" module should do the trick:

http://drupal.org/project/backup_migrate

If you don't want to go that route, you should be able to do a SQL dump of your database (assuming you have a mySQL Admin type interface with your hosting account) and FTP the contents of your Drupal "sites" folder.

That should be enough to restore it elsewhere I'd think.

9

Another recommendation for Backup and Migrate, and you can also add the Backup and Migrate Files Module if you want to grab your files automatically.

1

I use this handy script which backups not only the database but the whole site altogether. By adding the DB password to the script, you will be ablt put it in your cron table to makes backups automatically and even add other commands to send the backup to an external server etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.