automatically backup database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mankolele
    New Member
    • Sep 2006
    • 63

    #1

    automatically backup database

    Hi all.

    I am triying to figure out that when I have a server which has a mysql database, I want to auto update the database, iI understand there is a script I need to use but do not know where to start. Does anyone have a clear explanation for me on to where to start.

    Thank you in advance for all the responces.
  • masdi2t
    New Member
    • Jul 2006
    • 37

    #2
    Originally posted by mankolele
    Hi all.

    I am triying to figure out that when I have a server which has a mysql database, I want to auto update the database, iI understand there is a script I need to use but do not know where to start. Does anyone have a clear explanation for me on to where to start.

    Thank you in advance for all the responces.
    this is an example (using mysqldump):
    mysqldump --user=<user_name > --password=<passw ord> --lock-all-tables \
    --all-databases > <output_directo ry>/<output_file>

    execute your script with cron in Linux or task scheduler in Windows or with your own scheduler program.

    Comment

    • mankolele
      New Member
      • Sep 2006
      • 63

      #3
      Originally posted by masdi2t
      this is an example (using mysqldump):
      mysqldump --user=<user_name > --password=<passw ord> --lock-all-tables \
      --all-databases > <output_directo ry>/<output_file>

      execute your script with cron in Linux or task scheduler in Windows or with your own scheduler program.

      I see what you say I need to do, but that is where I get lost where , what , how do I put the script. Like when I go to the PC and switching it on saying I want to do the auto backuping of my database.

      Thanks for the reply.

      Comment

      Working...