Backup all databases on the server at once??

Discussion in 'MySQL' started by lokielookies, Jan 6, 2008.

  1. #1
    I'm looking for a script or software tool that allows me to quickly backup all the databases that are on my server at once, without having to enter the database names one by one (- that would take ages).

    Automated (cron) or manually - that's of less importance.

    Any tips?


    Greetz!
    Mieke ;)
     
    lokielookies, Jan 6, 2008 IP
  2. boltok

    boltok Active Member

    Messages:
    257
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #2
    You don't mention the type of database or what sort of control you have over the server.

    In case of MySQL, you can backup the full database with the --all-databases switch. Like this:

    mysqldump -u root -p --all-databases > [I]db_backup_file.sql[/I]
    Code (markup):
     
    boltok, Jan 6, 2008 IP
  3. kendo1979

    kendo1979 Peon

    Messages:
    208
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    if you don't have a shell access, use phpmyadmin ? there an option to export the whole database i think.
     
    kendo1979, Jan 6, 2008 IP
  4. chrissyj

    chrissyj Peon

    Messages:
    56
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you are interested in remote backup of the databases, we have a service to do that - PM me if interested.
     
    chrissyj, Jan 8, 2008 IP