I'm attempting to use this module in D7 to backup the root (as described here for #657814: backup and migrate directory other than files). When attempting to do a quick backup, I get these error messages:
Could not open directory /var/www/mysitedirectory/private
No files available.
Could not complete the backup.
The File Directory Destination (source of the backup) is set as "/var/www/mysitedirectory" so it appears that somewhere along the line "/private" is being unnecessarily appended. Is this because I have my file system set to private by default?
Thanks for any thoughts.
P.S. I see in #586820: Backup site root that this type of backup is technically unsupported, but I have no idea how to do either of the suggested options to avoid regular backups.
Comments
Comment #1
kiralyj commentedWhich B&M module version do you use? 2.2 or 2.4?
Can you backup another directory? I think, you don't need backup the root directory, only the "sites".
Comment #2
Seven_Six_Two commentedI thought that /private ought to be outside your webserver root, so that shouldn't be a problem.
Comment #3
sata commentedHere's how to backup your whole site.
Goto the Backup & Migrate configuration page.
Select the "Destinations" tab.
Click "Override" for either "Public Files Directory" or "Private Files Directory".
Enter the new path to your web root. i.e. "/usr/local/apache/htdocs"
->
Now do a manual backup using the file path with the override settings you used.
The new backup will contain all of the contents of your root as defined above.
--
E