http://drupal.org/upgrade/backing-your-site-command-line
Hi;
Just working through using this document with Drupal 7.x and found a couple of things that should be noted on the page.
Under "Back up your Drupal database with MySQL" :
1. The drush command line :
The drush command line should probably be shown with parameter to specify the destination file for the backup similar to the mysqldump command just above it. At least that is the parameter that I had to go find when I tried to use it.
Change
drush sql-dump
to
drush sql-dump --result-file=drupaldatabasebackupfile.sql
Note: drupaldatabasebackupfile.sql can contain a path to the file.
The drush command works with Drupal 7.x
2. The drupalsqldump.sh command line :
I have been using the drupalsqldump.sh script to backup my Drupal 6.x site quite successfully.
When I tried to use the drupalsqldump.sh script to backup my Drupal 7.x site, I found that it returned an error regarding a -h parameter. At that point I switched to the drush command.
Maybe the document should identify that the drupalsqldump.sh script work with Drupal prior to version 7.0.
Maybe a link to a current version of the drupalsqldump.sh script or information on how to get the script would be a good idea.
Closed: outdated
Correction/Clarification
Used in Documentation issues for documentation problems related to servers, such as installing/configuring/debugging Apache, MySql, PostgreSQL, etc.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.