[documentation] [Documentation bug] Back up you site (command line) contains errors

kbals drupal-docs at drupal.org
Sun Dec 17 22:00:21 UTC 2006


Issue status update for 
http://drupal.org/node/103867
Post a follow up: 
http://drupal.org/project/comments/add/103867

 Project:      Documentation
 Version:      <none>
 Component:    Installation
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  kbals
 Updated by:   kbals
 Status:       active

URL: http://drupal.org/upgrade/backing-your-site-command-line
1) The instructions show to backup are not clear (second line should be
split):
This:
-------
cd drupal_site/
wget
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/sandbox/dr...
chmod +x drupalsqldump.sh
-------
should be modified into:
-------
cd drupal_site/
wget
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/sandbox/dr...
chmod +x drupalsqldump.sh
-------


2) The following text contains escaped greater than signs '&gt;'
instead of '>'. In addition, the previous instructions indication the
the current directory is already drupal_site, so this part of the path
should be removed.
This:
------------
    * If you are running a version of Drupal that is 4.6 or newer, then
enter the following:


      ./drupalsqldump.sh drupal_site/sites/default/settings.php &gt;
backup/backup.sql
    * If you are running a version of Drupal 4.5 or older, run the
following:


      ./drupalsqldump.sh drupal_site/includes/conf.php &gt;
backup/backup.sql
------------
should be modified into:
------------
    * If you are running a version of Drupal that is 4.6 or newer, then
enter the following:


      ./drupalsqldump.sh sites/default/settings.php > backup/backup.sql
    * If you are running a version of Drupal 4.5 or older, run the
following:


      ./drupalsqldump.sh includes/conf.php > backup/backup.sql
------------


3) The instructions should also explain how to recover once something
went wrong:
-------
cd drupal_site/
wget
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/sandbox/dr...
chmod +x drupalsql.sh
./drupalsql.sh sites/default/settings.php < backup/backup.sql
-------




kbals



More information about the documentation mailing list