dzacharias
Mar 17 2004, 09:48 AM
Can anybody help me figure out how to run a cron job to export entries from a blog and save them to a file to use as a backup?
Thanks!
almuhajabah
Mar 17 2004, 01:01 PM
You may wish to check out this tutorial on creating an
export blog. Basically, you create an export template and use a rebuild script to update it; you can then use a cron job to automatically run the rebuild script every so often.
markcarey
Mar 17 2004, 03:36 PM
I have an export system that I use, which is based on the same "export template" concept. Instead of using the rebuild script, I use the dynamic viewer (mt-view.cgi) to render the export text files. I use a script (which can be scheduled as a cron job) to export the entries from each one of my blogs and then email them to me on a nightly basis. I plan on writing this up in detail on my site soon - I just need to polish up the script a little first.
dzacharias
Mar 17 2004, 04:56 PM
almuhajabah: Thanks! That worked great, what a neat tool.