Is it possible to back up all files from the site root? If so how would you go about doing this? So far I can only back up the files folder of my site? I imagine this is by design.

Comments

BenK’s picture

I, too, was hoping to backup all Drupal root files instead of just the "files" folder with the Drupal root folder. I'd love to see this feature....

--Ben

ronan’s picture

Status: Active » Closed (works as designed)

The default is to backup only your files directory and that's by design, but you can create a files destination that points to any directory on your server. That means that you should theoretically be able to backup the entire site root. This is untested and unsupported however.

As a rule you should not be backing up your site root using drupal and, in fact, you should not even need to. Backing up your site root implies that a) you are making changes to your codebase live on your server and b) you are not using any sort of version control. You should not be doing (a) and you should definitely be doing (b) and this would make backing up anything but your db and files directory moot.

I'll step down off my soapbox now :) Either way, the module technically supports the request, so I'm closing the ticket.