Results 1 to 4 of 4
  1. #1
    Join Date
    May 2005
    Posts
    13

    Unanswered: How To Take Backup Through Batch File

    Hi All

    Kindly Suggest Me a way to take Backup of Mysql Database Through Batch File.

    The Batch File i create would be called from Delphi Applications.

    If any one have got Success in doing so , kindly help me out.

    Thanks in Advance

    Regards

    Balu

  2. #2
    Join Date
    Aug 2003
    Location
    West
    Posts
    101

  3. #3
    Join Date
    Nov 2011
    Posts
    3

    task schedule

    Here is an example of the batch file I use:

    mysqldump --opt --host=localhost --user=myUser --password=myPass --result-file=C:\Backups\myBackupFile.sql myDatabase

    Once you have the batch file you can create an scheduled task with the Windows Task Manager to automatize this process

  4. #4
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    alejandro, thanks for your effort, but please do not revive a thread that has been dead for so many years

    the original poster is surely not still waiting over five years for an answer, and if there's anyone else who has a question about mysql backups, we want them to start a new thread
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

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