Closed (fixed)
Project:
Hosting
Version:
6.x-0.4-alpha3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2010 at 11:28 UTC
Updated:
24 Nov 2010 at 20:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
acy76 commentedI'd like to second the call for an aegir to non-aegir host export feature. Failing this, some documentation of the procedure (to be followed and implemented manually) would also suffice - I haven't seen any other discussion of the subject.
Comment #2
adrian commentedcommitted a partial fix so you can ddd the following to ~/.drushrc.php file to disable the cloaked credentials :
Comment #3
Anonymous (not verified) commentedIs this too insecure, temporarily replacing the settings.php for the site prior to generating a backup? (i'm not honestly sure of my own opinion of it)
Backend-only patch for now. Run as 'drush @yoursite provision-export'
Comment #4
Anonymous (not verified) commentedBetter patch that checks to see if the site already has unclocked credentnials as per #2 (and if so, just run a normal backup)
Comment #5
Anonymous (not verified) commentedHow do we feel about the backup task *always* saving the site's settings.php with their unmasked credentials.
That way any backup can be used on a non-aegir host.
And it's ok to restore from such a backup because the restore task invokes verify, which would re-mask the settings.php (if $options['provision_db_cloaking'] = FALSE of course).
Thoughts?
Comment #6
Anonymous (not verified) commentedPushed the idea of #5 to HEAD. backups save the settings.php with uncloaked credentials so they can be used on non-aegir hosts. no extra provision-export task.
Comment #7
Anonymous (not verified) commentedThis is a migression and should be reverted, see #955184: Backup task breaks any site by replacing settings.php with version working only with Apache
I'm just gonna leave this ticket closed because the new discussion is happening over there and we don't need two tickets.
Comment #8
Anonymous (not verified) commentedRenaming this to what was actually done, for the release notes at least.
Comment #9
j2parker commentedRegarding comment #2, The file ~/.drushrc.php does not exist. Are you suggesting this should be added to a site specific drushrc.php?
Is the following the answer to this feature request?
1. Hack drushrc.php per comment #2
2 .Verify the site
3. Backup the site
Comment #10
Anonymous (not verified) commentedYes you put that in the site's drushrc.php.
But this got committed and is in alpha15. Backups store the version of settings.php with uncloaked credentials, always. So I don't know why you need to reopen this (and mark it 'for review' without a patch either) .
You would only put that option in the drushrc.php of a site if you actually didn't want its *live* settings.php file to be cloaked (irrespective of backups)