We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4310
    • 2,310 Posts
    I was getting the
    The archive is either in unknown format or damaged
    message when I’d run out of memory/time on a particular server.
    When I used a different server the zips were okay.
      • 5274
      • 177 Posts
      If you get to the "Backup process complete. . ." message then the zip should be okay.
        • 25551 ☆ A M B ☆
        • 1,231 Posts
        I am getting the backup is complete message... zips are still corrupt. The site is only about 60mb in total.
          Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
          AugmentBLU - MODX Partner

          BLUcart - MODX Revolution E-Commerce & Shopping Cart
          • 5274
          • 177 Posts
          You have an IM...
            • 23562
            • 57 Posts
            Works great! Thanks! wink
              • 5274
              • 177 Posts
              v1.8 just released!

              This is mostly a cosmetic release so there are not any significant functional changes. I renamed a few of the core files along with deleting those no longer used, deleted unused template images, deleted unused CSS. For those of you using this as a MODx module you should recopy the code in the BKUPMODX.MODULE.php file into your module.

              * Updated menu navigation with active links

              * Update Exit menu links

              * Refactored code to reduce file count

              Upgrade and new installation instructions in README.txt.

              Enjoy!
                • 21870
                • 7 Posts
                Thanks for the module. I’ve got it all squared away except that I’m having the same problem where my SQL dump isn’t included in the zip. Everything seems to run fine otherwise. Here’s the verbose output:



                Backup in process...

                Start MySQL backup of bmiprodu_modxdb to path/to/my/sqlfile.sql . . . Completed MySQL backup. - Size: 659301

                Start FileList . . . File count: 2376 . . . Completed FileList.

                Start PclZip archive of all files to /path/to/my/backup/archive/modx_bkup_20080723_042805.zip . . . Completed PclZip backup. - Size: 4228919

                Start Delete of /path/to/my/backup/tmp/* files . . . Deleted tmp/sqlfile.sql size 659301 . . . Completed Delete of /path/to/my/backup/tmp/* files

                Backup process complete...
                  • 5274
                  • 177 Posts
                  Quote from: nsaudade at Jul 23, 2008, 05:38 AM
                  ...my SQL dump isn’t included in the zip....

                  Is the backup and backup/tmp directories included in your zip file? If they are then look in the backup/tmp directory for you SQL dump file(s).
                    • 21870
                    • 7 Posts
                    I added the backup directory and found the dump, thanks Chuck. On another note, do you have any suggestions on automating the backup, possibly using a cron job? Thanks again.
                      • 5274
                      • 177 Posts
                      Quote from: nsaudade at Jul 23, 2008, 06:27 AM

                      I added the backup directory and found the dump, thanks Chuck. On another note, do you have any suggestions on automating the backup, possibly using a cron job? Thanks again.

                      IIf you’re using v1.8, you can call the creation routines directly:

                      bkup.php?nav=cfs