We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    That is true of any remote backup application. It’s up to you to get the backup from the remote server. If you want an automated backup to automatically go somewhere else, that’s a whole different application.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 3749
      • 24,544 Posts
      Quote from: sottwell at Sep 11, 2008, 03:28 AM

      That is true of any remote backup application. It’s up to you to get the backup from the remote server. If you want an automated backup to automatically go somewhere else, that’s a whole different application.

      Au contraire. My web host has only one backup program in cPanel. By default, it saves all my files and an sql dump to my local machine.

      By default, it restores from the local copy to the remote.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 5274
        • 177 Posts
        Quote from: BobRay at Sep 11, 2008, 04:24 PM

        Au contraire. My web host has only one backup program in cPanel. By default, it saves all my files and an sql dump to my local machine.

        By default, it restores from the local copy to the remote.

        Good point BobRay! I recently picked up the website support for a cPanel enabled customer and got my first look at the cPanel Backup functions. I missed the option to enable an upload in BkupMODx for the restore or import functions. Otherwise BkupMODx does similar tasks as the cPanel Backup function including the option to download a backup archive to a local PC. I’ll add that to the list of upgrades. Thanks for the insight!
          • 25551 ☆ A M B ☆
          • 1,231 Posts
          Hey chuck... I don’t suppose you managed to do anything about saving zips in to multiple small files? If my site was 400mb, can i break it down to 4x100mb say or is that simply not something you want to deal with? Thanks.
            Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
            AugmentBLU - MODX Partner

            BLUcart - MODX Revolution E-Commerce & Shopping Cart
            • 5274
            • 177 Posts
            Quote from: rossco at Sep 21, 2008, 11:03 AM

            Hey chuck... I don’t suppose you managed to do anything about saving zips in to multiple small files? If my site was 400mb, can i break it down to 4x100mb say or is that simply not something you want to deal with? Thanks.

            Have you tried running separate configs that only backup portions of you website? For example create a config that will backup /assets and /manager then another that will backup other directories. That would be one way to do it.

            Causing the scripts to break up the zip file into smaller zips seems doable. Right now I’m in the process of adding HTTP Upload capability. I’ll circle back and see how much effort that will take after the next release.
              • 25551 ☆ A M B ☆
              • 1,231 Posts
              Breaking up things using several configs might work but one of my sites is 800mb, modx and a forum. Doing modx wouldn’t be too bad as it’s generally 2 main folders but the forum is like 8 and that’s where the largest part of the 800mb is at. If you think it’s possible, that would be great to try and implement. You know about the situation with my host, 100mb limit per zip file so this seems about the only possible way for me to backup on the server itself. If you can that’s great.

              Ross
                Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
                AugmentBLU - MODX Partner

                BLUcart - MODX Revolution E-Commerce & Shopping Cart
                • 3749
                • 24,544 Posts
                Quote from: rossco at Sep 22, 2008, 12:24 AM

                Breaking up things using several configs might work but one of my sites is 800mb, modx and a forum. Doing modx wouldn’t be too bad as it’s generally 2 main folders but the forum is like 8 and that’s where the largest part of the 800mb is at. If you think it’s possible, that would be great to try and implement. You know about the situation with my host, 100mb limit per zip file so this seems about the only possible way for me to backup on the server itself. If you can that’s great.

                Ross

                Have you tried zipping to the host to see how big the compressed files are? Also, it’s possible that there are some zip splitters that might work at your host.
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 5274
                  • 177 Posts
                  Quote from: rossco at Sep 22, 2008, 12:24 AM

                  Breaking up things using several configs might work but one of my sites is 800mb, modx and a forum. Doing modx wouldn’t be too bad as it’s generally 2 main folders but the forum is like 8 and that’s where the largest part of the 800mb is at. If you think it’s possible, that would be great to try and implement. You know about the situation with my host, 100mb limit per zip file so this seems about the only possible way for me to backup on the server itself. If you can that’s great.

                  Ross

                  One of the changes introduced with BkupMODx v2.0 was a refactoring of the zip process. The refactoring allows decisions to be made during compression on a file by file basis. I don’t think it’s a huge effort to keep track of the zip file size before and/or after every file, see if it meets some user configured size, close it if needed and open a new zip before continuing on. This is not a true file splitter solution and would not solve the maximum zip file size issue if you’re dealing with really huge files on your website.
                    • 25551 ☆ A M B ☆
                    • 1,231 Posts
                    The zip file that I download from my site is 790mb. I can only download the backup to my own computer that’s why I wanted to use this script to make a backup online in parts. I have a maximum file size of 100mb per zip, I can have as many zips as I like as long as they are not over 100mb each. So having that in mind, I can’t upload my whole 800mb site backup in one go from my local machine to restore, if needed. I would have to unzip the 800mb, make several smaller zips, then upload. I’m sure you would agree that is a pain in the arse. That’s why I would like a script to back my site up but do it in segments. I could then restore from the locally held zips on the server. If it’s not possible or too much hassle then I have to do it the long way lol. Hope you get why I would like something that can do what I would like it to do. You script is great as it works nicely for another small site of mine so I would like to use it for my larger sites.

                    Ross
                      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
                      AugmentBLU - MODX Partner

                      BLUcart - MODX Revolution E-Commerce & Shopping Cart
                      • 3749
                      • 24,544 Posts
                      Quote from: rossco at Sep 23, 2008, 03:02 PM

                      The zip file that I download from my site is 790mb. I can only download the backup to my own computer that’s why I wanted to use this script to make a backup online in parts. I have a maximum file size of 100mb per zip, I can have as many zips as I like as long as they are not over 100mb each. So having that in mind, I can’t upload my whole 800mb site backup in one go from my local machine to restore, if needed. I would have to unzip the 800mb, make several smaller zips, then upload. I’m sure you would agree that is a pain in the arse. That’s why I would like a script to back my site up but do it in segments. I could then restore from the locally held zips on the server. If it’s not possible or too much hassle then I have to do it the long way lol. Hope you get why I would like something that can do what I would like it to do. You script is great as it works nicely for another small site of mine so I would like to use it for my larger sites.

                      Ross

                      php zip file splitters:

                      http://www.phpclasses.org/browse/package/1900.html
                      http://www.freebyte.com/hjsplit/
                        Did I help you? Buy me a beer
                        Get my Book: MODX:The Official Guide
                        MODX info for everyone: http://bobsguides.com/modx.html
                        My MODX Extras
                        Bob's Guides is now hosted at A2 MODX Hosting