Find the answer to your Linux question:
Results 1 to 2 of 2
I have multiple databases that I would like to backup using the --all-databases option. Is there a way that I can output the backup to individual files that match the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    11

    MySQL Backup question


    I have multiple databases that I would like to backup using the --all-databases option. Is there a way that I can output the backup to individual files that match the source DB name?

    Thanks,
    Jason

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    I think it is something like
    Code:
    mysqldump --databases dbname > dbname.backup

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •