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
    I have a site I am about to hand over to a client to manage - i.e. content manage and want to ensure that there is automated backuping up going on to ensure that if they mess anything up, I can easily roll things back to a previous stable version.

    Does anyone have any oppinions on this? I have noticed Modback - is this any good?


    Cheers.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I (and my clients) love it. It can run as a stand-alone script, thus making it possible to run it with a cron job, or as a module.

      http://modxcms.com/extras/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, Can you schedule it to run automatically? Where do the backups download too?


        Cheers
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          By default they save to the backups/archive directory. When backing up, the backup folder is also backed up, but older zip files there are not; the sql dump file is in the backup/archives directory of the backup. You can put this anywhere you want; if your server allows it, outside of the web root is good if you’re using it as a module, or running it via a cron job. You can also configure it to put the backup zip file somewhere else if you prefer.
            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
            Can it backup to a local machine? I.e. not a web server? If server goes then surely if your backups are on the server you have not backed anything up?
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              There is an archive management page where you can download, delete or unzip an archive; if it’s unzipped you can upload files or import the sql dump file. So it’s easy to download the zip file, then delete it from the server.

              As far as automatically moving the zip file to another server, I doubt it. For one thing, PHP is limited in what it can do with remote servers. Probably would need another perl or shell script to handle that.
                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
                OK Thanks ;]
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  Then again, something might be able to be done with this... http://us.php.net/manual/en/function.ftp-fput.php
                    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
                    Susan - have you used Modback? What are your oppinions on that as a solution to backups? Seems to work very easily and zips up all MODx files as well as the SQL database into a date named Zip into a designated folder - from which point you can download.

                    Love to hear your thoughts on Modbak


                    Cheers
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      No, bkupMODx is the only one I’ve ever used.
                        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