We have a pretty steady stream of users who mysteriously seem to lose
months of calendar data, I suspect it is usually due to some calendar
syncing products. In any case, google does not provide you with a way
to restore that data or to back it up for your users.


I have written a script (in php) which will sign in as a domain
administrator (we created a special account to do backups) and
download ics files for all of the calendars that a particular user on
your domain has read (or write) access to.

We have set this up to run nightly and then we back up the destination
directory using our normal backup procedures.

I'm sure the script could be made much prettier, but honestly I was
just happy to get it to work since it uses several features not
documented in the php api docs.

Go to
http://code.google.com/p/googlecalendarbackup/

to download the script. You will need to change all instances of
"yourdomain.com" and "passwordgoeshere" with your info. You might also
want to change paths, etc.

This is not really intended for novices. You'll need to adapt the code
for your needs, but it gives you somewhere to start.

If you have any questions, feel free to e-mail me at sommere at
gustavus.edu

Ethan Sommer
Associate Director of Core Services
Gustavus Adolphus College
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to