Closed (fixed)
Project:
Backup and Migrate
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2008 at 18:08 UTC
Updated:
21 Mar 2009 at 17:10 UTC
Backup and migrate does a great job making backups, but I'm having trouble with permissions on my Plesk VPS account. Plesk runs Apache as user "apache", and backup and migrate creates backups owned by "apache" with 600 permissions. This is the default permission of files created by the "tmpname" function. I can't FTP or rsync these files without logging in as root.
I'd like to see the option to chmod the files to an admin-specified mask in the UI. Would you accept a patch to the 2.x branches?
Thanks!
Comments
Comment #1
ronan commentedThat's not a bad idea, but hold off on the patch if you could. I'm working on a 'filter' system which will be a series of api hooks that will be called pre and post backup and restore. I'm still hammering out the details of this API, but once it's complete, it will make adding import/export features like this easier and cleaner.
Comment #2
criznach commentedOk, if you think of it, please update this issue when the hooks are ready. I'd really like to use backup and migrate for all of my sites, but I need to work around the permissions problem somehow before it will work.
Comment #3
ronan commentedThis is now in the latest 6.x dev. Let me know if you need me to backport it to 5 and I'll see if I can find the time to do so. I'm slowly phasing out 5 support for new features since the demand for the 5.x version seems to be waning.
R