sogo/Migration/Oracle
Ludovic Marcotte ec9fcce3c6 Added migration script for Oracle Calendar. Updates the guides for the 1.3.1 release and the NEWS file.
Monotone-Parent: 618ad1eb6b0c707afbfd6673022c7840209747e1
Monotone-Revision: b59f331214320317bf10c70f2db10187fcd5f29d

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-08-19T13:48:53
2010-08-19 13:48:53 +00:00
..
README Added migration script for Oracle Calendar. Updates the guides for the 1.3.1 release and the NEWS file. 2010-08-19 13:48:53 +00:00
oracleimport.pl Added migration script for Oracle Calendar. Updates the guides for the 1.3.1 release and the NEWS file. 2010-08-19 13:48:53 +00:00

README

Depending on your location, the timezone will have to be adjusted
in the oracleimport script. Search for "$timezone" and adjust it together
with the DTSTART/DTEND values.

Also, if you do not want the script to send invitation requests / updates
for virtually every PUT operation, you MUST add the SCHEDULE-AGENT parameter
(with a value of NONE or CLIENT) to the ORGANIZER of the events you're about
to import. See http://tools.ietf.org/html/draft-desruisseaux-caldav-sched-08#section-10.1
for all details. 

Then, you need to export the data from Oracle Calendar. To do this, use
the following tools based on the type of data you want to export.

- Calendars -

% uniical -export -host <hostname:port> -n <nodeid> -start <month>/<day>/<year> -end <month>/<day>/<year> -u <username>  -f <filename>

- Tasks -

% unicpoutu -host <hostname:port> -n <nodeid> -start <day> <month> <year> -end <day> <month> <year> -u <username>

- Rights -

% uniaccessrights -ls  -grantor <user> -host <hostname:port> -n <nodeid>  -p XXXX -grantee "S=*" -designate

Please look at http://download.oracle.com/docs/cd/B25553_01/calendar.1012/b25486/utilities.htm for
details on those tools.