Commit 0896635d authored by mig5's avatar mig5 Committed by mig5

Revert "provision-export"

This reverts commit 7414a9ba2e18f5d036bdb10c2925ef61fe566fa5.
parent 38ca851d
// $Id$
* Provision export command
* Create a tarball of a site that can be used on non-aegir hosts
* Make a backup of the site
function drush_provision_drupal_provision_export($backup_file = null) {
if (d()->type == 'site') {
drush_set_option('force', true, 'process');
// Disable the cloaking of credentials temporarily
drush_set_option('provision_db_cloaking', FALSE);
// Write the uncloaked credentials to the settings.php
// Create the tarball
drush_invoke('provision-backup', $backup_file);
// Put the cloaked credentials back
drush_set_option('provision_db_cloaking', TRUE);
drush_unset_option('force', 'process');
......@@ -171,12 +171,6 @@ function provision_drush_command() {
$items['provision-export'] = array(
'arguments' => array('' => dt('The domain of the site to export.')),
'optional arguments' => array('backup-file' => dt('The file to save the export to. This will be a gzipped tarball.')),
'description' => dt('Generate an exported tarball of the site for use by non-aegir hosts.'),
$items['hostmaster-migrate'] = array(
'description' => dt('Migrate an instance of the Hostmaster front end to a new platform'),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment