backup script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sarma
    New Member
    • Sep 2006
    • 18

    backup script

    i would like to write a shell script to store database on daily basis. I am using MySQL 5 as my database. Any inputs are welcome...


    regards
    sarma
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Are you talking about an SQL statement backup or a binary dump?

    Ronald :cool:

    Comment

    • sarma
      New Member
      • Sep 2006
      • 18

      #3
      I would like to write some shell program which will be automatically run by crond and take data which is effected on that day. It will store only updates or modifications.


      regards
      sarma

      Comment

      • sashi
        Recognized Expert Top Contributor
        • Jun 2006
        • 1749

        #4
        Originally posted by sarma
        I would like to write some shell program which will be automatically run by crond and take data which is effected on that day. It will store only updates or modifications.


        regards
        sarma
        Hi there,

        If that's the case, i would suggest you to use mysqldump, add a line to crantab to make a backup, hope it helps.

        Kindly refer to below attached link for futher reading & understanding. Good luck & Take care.


        Comment

        • sarma
          New Member
          • Sep 2006
          • 18

          #5
          Hi one and all,


          ThanQ very much for your response....... ............... ............




          thanx
          sarma

          Comment

          Working...