We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8168
    • 1,118 Posts
    It seems a big oversight that REVO has no backup system integrated into the core UI? (or am I missing it?) - Can we get one penciled in for next releases? I am using Janitor at the moment but would 100% much prefer a function added into the core UI which will backup the SQL DB and also the file system for the site you are backing up....


    Thanks!

    dubbs.
    • That likely won’t make it into the core product most likely and will be handled via a 3PC. A general rule of thumb for core functionality in Revo (though there can certainly be exceptions):

      To make it into the core distribution over 90% of the users/developers would use need it.

      Backup is frequently (and usually automatically) handled at the server-level via server-specific backup methods that can include the databases, filesystem and more that a MODx-specific backup tool could never address. Anecdotally, I’ve used the built in backup tools maybe half a dozen times since working with MODx ... which is definitely from the beginning. wink
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 8168
        • 1,118 Posts
        Thanks Ryan, that seems like a big shame to me that it’s not planned to be added in... I use MODx for my clients a lot of the time, and its always handy to have a simple backup procedure for them to follow to backup the site for piece of mind... They will never be able to perform this in the hosting environment as they are not in anyway technical... This is the main reason for my request for its inclusion, for when the site is administered by a non-technical person.

        Incidentally how would one go about backing up the DB and filesystem in the ways you describe? Interested to learn here!


        Thanks,

        dubbs.
          • 8168
          • 1,118 Posts
          I used to use modBak in Evo, nice and simple, but could have been a lot more stable and intuitive! Something this simple (I think) would be a great addition to Revo!
          • The BkupMODx module is actually a stand-alone php application whose management screen can be incorporated into a MODx module (as can DADA mail’s management screen, and it’s a perl mailing list application). I’ve installed it as the first thing to do on every Evo installation now for years. I haven’t tried it on Revo yet, but it may be able to handle Revo sites as well. In any case, it would be a good place to start looking for how it could be done.

            http://modxcms.com/extras/package/?package=46
              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
              • 8168
              • 1,118 Posts
              Thanks Susan, will have a look at that
              • This got me curious, so I uploaded it to my Revo site, and it works just fine in stand-alone mode (in the config file, mysql=2 and the database access info needs to be specified).

                I think to make it usable in a custom manager page, only one line would need to be changed; in model.config.class.php if the mysql type is 3 then it needs to be able to access the MODx config.inc.php file to fetch the database access info. Line 36:
                $temp = $this -> config['base_path'] . 'manager/includes/config.inc.php';

                would need to be changed to
                $temp = $this -> config['base_path'] . 'core/config/config.inc.php';

                Although this would need further modification to allow for the flexibility of Revo’s core location (probably some use of the data in core.config.php would be needed); in any case this would be the only place where modification would be necessary to make it fully Revo-compatible.
                  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
                  • 8168
                  • 1,118 Posts
                  Great news! Thanks Susan, I will have an explore with this to see how I get on! Would be great if this could be officially adapted for REVO support out of the box too!
                  • I think Janitor has a built in backup tool as well...
                      Patrick | Server Wrangler
                      About Me: Website | TweetsMODX Hosting
                      • 4971
                      • 964 Posts
                      Janitor has two, SQLBuddy (like phpMyAdmin) where you can create a backup and
                      phpMyBackupPro, where you can schedule regular backups of your database.

                      It has a FTP application, which shamblett is upgrading to a new better and
                      friendly one where you can backup your files.

                      I am a hosting reseller and my provider performs daily backups of my and my
                      client accounts... daily. So if there is ever a problem, they restore any and
                      all files with just letting them know with a ticket.

                      I think that backing up a site should not be the responsibility of the client,
                      they should just worry about their business and we need to worry about ours,
                      which is taking care of OUR clients...
                        Website: www.mercologia.com
                        MODX Revo Tutorials:  www.modxperience.com

                        MODX Professional Partner