Announcement

Collapse
No announcement yet.

Cron Job vs AdminCP Backup

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cron Job vs AdminCP Backup

    When I backup my database via the cron job in my cpanel it is approx 20 mb smaller than if i back it up from the control panel... any ideas why?

    here is the cron statement im using:

    mysqldump --opt -u*MYUSERNAME HERE* -p*MY PASSWORD HERE* accordt_board > path to my backup.sql

    thanks in advance for any help...

  • #2
    IIRC, the vb backup uses more whitespace than mysqldump.
    TheologyWeb. We debate theology. srsly.

    Comment


    • #3
      Originally posted by cirisme
      IIRC, the vb backup uses more whitespace than mysqldump.
      so then im not missing something and all will be well should i have to restore a backup??

      Comment


      • #4
        No, you're not missing anything. Besides the mysqldump is a mor ereliable backup than the one in the Admin CP.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #5
          ok thanks for the help guys!!!

          Comment


          • #6
            You can actually trim the backup further by declaring the tables to back up.

            For example you dont need the search index and some other tables. There are a couple posts here that outline how to backup just the critical tables. I posted a while back in the VB2 section a post detailing the cron script I run to backup selected tables and ftp the backup to my home PC everynight. I borrowed the script from someone here and modified it ....

            Doug
            http://www.TALONClub.com/forum
            http://www.prowltalk.com
            http://www.nloc.net
            http://www.nhtoc.com

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X