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
    Quote from: BobRay at Mar 12, 2018, 03:49 PM
    Thanks Bob - yeh, I tried that - wont work on shared hosting solution as uses shell scripts that are not allowed...

    It depends on the host. I just checked and the shell_exec() command, which is what the extra uses, works fine on my shared account at A2 Hosting.

    I just tested the command, though, not the extra.

    Thanks Bob - Uk2NET wont allow it...
      • 8168
      • 1,118 Posts
      Quote from: lkfranklin at Mar 12, 2018, 04:26 AM
      You may be able to use something like this on a Cron job

      https://github.com/gizalink/Backup-Website-PHP

      Is this a safe and secure way of doing this? Also where do you add the credentials for the database etc to backup??> [ed. note: dubbs last edited this post 8 years, 6 months ago.]
        • 8168
        • 1,118 Posts
        Quote from: paulp at Mar 12, 2018, 02:55 AM
        Best I've found is codeguard, works out to $5 a month for single sites

        https://www.codeguard.com/

        Codeguard looks very good - but a bit pricey - but spose you get what you pay for!
          • 3749
          • 24,544 Posts
          It's not difficult to create a backup extra. The trick, though, is to build in a restore method. IIRC, the old Provisioner extra did both backup and restore, but it's quite old and I think it's unlikely that it would still work.
            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
            • 8168
            • 1,118 Posts
            Quote from: BobRay at Mar 17, 2018, 12:21 AM
            It's not difficult to create a backup extra. The trick, though, is to build in a restore method. IIRC, the old Provisioner extra did both backup and restore, but it's quite old and I think it's unlikely that it would still work.

            Thanks Bob - I will take a look. It’s really just filestore backup and SQL dB dump I need. Restoring a site would be another project itself!