Login as the database owner (icsuser).
To backup a calendar to a file in iCalendar or XML format, use the csbackup utility calendar command.
The filename extension (.ics or .xml) of the backup file indicates the format.
For example, to backup the calendar jsmithcal in iCalendar format (text/calendar MIME) to the file jsmith.ics in the backupdir directory:
csbackup -c jsmithcal calendar backupdir/jsmith.ics |
Or, to backup the calendar jsmithcal in XML format (text/XML) to the file jsmith.xml in the backupdir directory:
csbackup -c jsmithcal calendar backupdir/jsmith.xml |