Needs review
Project:
Backup and Migrate Files
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2011 at 23:01 UTC
Updated:
10 Jan 2013 at 18:34 UTC
My 'sites' directory is a link to another location (for example '/custom_path_to_sites')
When I backup & restore the new 'files' directory has a path like:
/custom_path_to_sites/a_site/files/custom_path_to_sites/a_site/files/
instead of:
/custom_path_to_sites/a_site/files/
I attached a small patch that fixes this glitch. Please review and port!
| Comment | File | Size | Author |
|---|---|---|---|
| allrealpath.patch | 939 bytes | bdimofte |
Comments
Comment #1
tangent commentedI am also seeing this behavior. My configuration uses a symlink for the "files" directory(ies) to keep content and code separate so this bug is a problem. The patch seems to resolve the issue for me although it's odd that the path includes a directory with the same name as the file. I haven't tested restoring yet to see if that is intentional or causes any problem.