I'm trying to restore the files backuped from dev to staging environment but the system is extracting the files with all directory structure. The result is like this: public://sites/default/files/[all extracted files].
Can anybody help me?
I'm trying to restore the files backuped from dev to staging environment but the system is extracting the files with all directory structure. The result is like this: public://sites/default/files/[all extracted files].
Can anybody help me?
Comments
Comment #1
ginorodrigues commentedSame here (eg: sites/default/files/sites/default/files).
It is strange that the same was happening while restoring files with https://drupal.org/project/backup_migrate_files, including even the zip filename (eg: sites/default/files/sitename-2014-06-10-T12-00-00/sites/default/files).
Any help on this?
Comment #3
ronan commentedThis was a problem with the backups not the restore. There was no reason to have the sites/default/files part be in paths of the backups so I removed that. That means your existing backups still won't restore properly (although you can simply upload the files in the right spot if you need to restore from one) but the new ones going forward should work.