TOTD #17: Backing Up your Blog Posts on Roller

how-to
Nov 14, 20072 mins

This TOTD explains how to back up your blog posts hosted on Roller-based installations. The instructions are borrowed from Rich’s original post.

  1. Download blogapps-examples (1.0.4 as of this writing).
  2. Go to the directory blogapps-examples-1.0.4java and invoke ant.
  3. Go to blogapps-examples-1.0.4javaex02distgrabber directory and edit config.properties to match your settings. My config file looks like:

    download_dir=./bsc_saved<br>
    	blog_apitype=metaweblog<br>
    	blog_username=arungupta<br>
    	blog_password=<my password><br>
    	blog_id=arungupta<br>
    	blog_url=<a href="https://blogs.sun.com/roller-services/xmlrpc">https://blogs.sun.com/roller-services/xmlrpc</a><br>
    	max_entries=1000
  4. If you are running behind a firewall, add proxy host and port information to Grabber.bat as:

    java -Dhttp.proxyHost=<proxy host> -Dhttp.proxyPort=<proxy port> -classpath 
    	%_cp_% com.manning.blogapps.extra02.Grabber %1 %2 %3
  5. And run the script Grabber.bat.

All the blog entries are locally stored in the directory specified in


config.properties

(

./bsc_saved

in this case). And a convenient

grabber-index.html

page is generated that indexes all the entries.

There are multiple directories in my blog resources. Moreover I’d like to link the resources to my backed up blog posts as well. So backing up resources seems like a slightly more involved process so I’ll try that later. Otherwise Grabber is very cool and convenient for those in-flight and airport lounge times 🙂

Please leave suggestions on other TOTD that you’d like to see. A complete archive is available here.

Technorati: totd blogs roller grabber