Announcement

Collapse
No announcement yet.

vb_backup.sh error: mysqldump ambiguous option

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • vb_backup.sh error: mysqldump ambiguous option

    I recently upgraded MySQL and now the included vBulletin backup vb_backup.sh fails with this error:

    Code:
    mysqldump: ambiguous option '--all' (all-databases, allow-keywords)
    Is the fix as simple (?) as changing this line in vb_backup.sh from "--all" to use "--all-databases"?

    Code:
    $mysqldumpcmd -h$servername -u$dbusername $passwordinfo --add-drop-table --add-locks --all --extended-insert --quick --compress $dbname > $database
    Last edited by jca; Wed 1 May '13, 6:48am.
    jca

  • #2
    Changing "--all" to "--all-databases" doesn't seem to be working. Can anyone tell me how to get the vb_backup.sh script to work without giving an "ambiguous option" error?
    jca

    Comment


    • #3
      Just remove --all from it.

      Comment


      • #4
        What version of mysql are you running?
        Gentoo Geek

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X