JP Vossen on 29 Oct 2009 16:53:45 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Backing up Google Calendars


I was recently fiddling with my Google calendar and wondering how to 
back it up, just in case.  I found:

http://www.google.com/support/calendar/bin/answer.py?hl=en&answer=37111
http://lifehacker.com/software/google-calendar/how-to-sync-google-calendar-with-ical-232812.php
http://lifehacker.com/281635/back-up-your-google-apps-data


Basically, you go into the calendar settings and grab the URL for the 
XML, ICAL or HTML versions, and that's it.  A trivial script like this 
and you're done:

#!/bin/bash -
# Trivial script to backup Google Calendars
set -e
cd /home/something/Google_Calendar_Backups
wget -qO jp.xml  'http://www.google.com/cal......'
wget -qO jp.ics  'http://www.google.com/cal......'
wget -qO jp.html 'http://www.google.com/cal......'

~~~~~~~~
Well you're done unless you want to keep older versions or something, 
though in theory your existing backup solution should handle that. 
Right?  You *do* have an existing backup solution, right?

Cool,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|      http://bashcookbook.com/
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug