MODS: Feel free to move this post. I wasn't sure where to put it.
OK, I found a nice back-up utility we can use with Zen Cart.
NOTE: I have nothing to do with this software, website nor organisation in any way. I just came across it myself.
It is an open source set of scripts, which you upload to your own site, configure, and set your cron jobs. You can then back-up your database, web site files or both at an interval that suits you. You can also restore the site using this script.
I was interested in a back-up script as I couldn't figure out how to do it myself using cron, and my host won't provide help in this area as they sell a back-up facility themselves.
Now I can schedule my own back ups of database and site files. It will allow me to save the backups to my local server, email them to me (if mail server allows that file size), send to an ftp location or even Amazon S3 storage.
Here are the details:
BTW, it also runs as a plugin for wordpress and Joomla, but you need to configure it as a standalone script for Zen Cart.
I have it saving my back-up to my web server - Here is how I did it:
1. I downloaded the script (standalone version) and manual (go to web site above).
2. I unzipped, and uploaded the folders to the root of my web site. My ZenCart is also in the root directory.
3. I created new folders in the root: administrator/backups
4. Added an index file into the folders. I just used on of the ZenCart ones that blocks access to the folder root.
5. chmod 777 the backups folder I just created
6. Added these disallow rules to my robots file:
7. Open a browser and go to
8. Made the appropriate changes to the files.
9. Notes of a few of the configuration changes I made:
XCloner - Configuration > General:
XCloner - Backup Start Path: /home/My-Server-Name/public_html/
XCloner - Backup Store Path: /home/My-Server-Name/public_html/administrator/backups
[My-Server-Name should be appropriate to your server configuration]
10. I went through all the tabs and in most cases just accepted the default and they worked for me.
11. This may be obvious to most people, but for cron job execution I did the following when I set the job in my web servers cPanel:
The primary script - I just copied and pasted the 'path' shown in the cron page of the XCloner back end e.g.
I also set up a different second script to run at another interval, and had to use a different configuration. I use the 'links' method shown in the cron page. Note to people as unlearned in these matters as me: copy the work 'links ' as well as the URL, and remember top add the extra bit to the file name which you need with a 2nd or subsequent cron configuration in this script. e.g. mine looks like: links
12. Add your e-mail address so you can tell if it's running ok, and away you go.
I have given you all the details that I did because the XCloner organisation have very basic free help. They want you to pay for their support - that's how they are recouping their costs and paying the staff.
I am no expert in php, databases or cron. So I can really only tell you what I did that worked for me.
I have passed on this information as I though it was a very nice script, easy enough to set-up - well, I manged it! And I was pleased that I found it, so I thought some others may like this back-up and recovery script as well.
If you run wordpress or Joomla, then they have a plug in version - I haven't used then myself so can't tell you much about them. Though I guess it is the same script, but already configured for installation into these applications.
BTW, I haven't tried the recovery bit yet, though I assume it works. Nor have i tried saving the back ups to another ftp location, email or Amazon S3 storage.
All the best