Automating Backups

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Roman
    Junior Member
    • Apr 2004
    • 7

    #1

    Automating Backups

    Is there a way to automate regular site backups similar to what was done with SQL backups here?

    One possible way is to login to phpmyadmin via cpanel and export the whole database including all data. If you want an easier backup system Andy posted a PHP script that will take the database and either: A) back it up to a directory B) e-mail the backup to you C) FTP to another location Here is the script: <?php


    I would like someway to backup my site automatically.
  • -Oz-
    Senior Member
    • Mar 2004
    • 545

    #2
    What server are you on?
    Dan Blomberg

    Comment

    • Roman
      Junior Member
      • Apr 2004
      • 7

      #3
      CPanel15

      Comment

      • -Oz-
        Senior Member
        • Mar 2004
        • 545

        #4
        I think backups are made every night as is. You doing your own would probably overload the server.
        Dan Blomberg

        Comment

        • Roman
          Junior Member
          • Apr 2004
          • 7

          #5
          One problem is that the backups that are made automatically are not user controlled.

          The second problem is that they aren't really what I'm looking for. They are more like an attempt at disaster recovery/fault tolerance. The new backup system does better with this, but still only offers a single point in time restore model.

          I'm looking for the ability to automatically download and save weekly or monthly backups so that I have the ability to restore a file from several weeks or months ago.

          Comment

          • openbox
            Senior Member
            • Mar 2004
            • 238

            #6
            You could probably work some cron magic and tar files and have the ftp or scp to where you want them to go. There is no "one-click" option that I know of, but something could be hobbled together.

            Comment

            • Eric
              Junior Member
              • Mar 2004
              • 22

              #7
              I use a script I wrote for that. You can check out more details by clicking here.

              Eric

              Comment

              • Roman
                Junior Member
                • Apr 2004
                • 7

                #8
                Wow, that sounds nice Eric. I was hoping for something free. But this sounds like a very nice tool and the price isn't too bad.

                I'll e-mail you about it.

                Comment

                Working...