Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
1ae53cb0
Commit
1ae53cb0
authored
Sep 07, 2009
by
mig5
Committed by
mig5
Sep 07, 2009
Browse files
remove copied comments from restore.provision.inc and make it clone-specific
parent
91f0154d
Changes
1
Hide whitespace changes
Inline
Side-by-side
platform/clone.provision.inc
View file @
1ae53cb0
<?php
/**
*
Restor
e command implementation
*
Clon
e command implementation
*
* This command when called will
* 1. Make a backup of the current site, before modifications are made.
* 2. Extract the backup that is being cloned to to a temporary folder in the sites directory.
* 3. Create a new database, belonging to the site's user, and switch it around with the current site's database.
* 4. Import the old database and site.php details.
* 5. Regenerate configuration files.
* 6. TODO: diagnostic to test that everything is ok?
* 7. Restart apache so the previous site is available again.
* 2. Execute 'provision deploy' to build the new site using the backup of the old site.
*
* If at any time an error occurs, before step 9. It should reverse all the changes it has made,
* and leave the current site directory and database in the right place, and remove all cruft that
* was created by this process.
*/
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment