Sun Java System Calendar Server 6.3 Administration Guide

ProcedureTo Restore a Calendar From a File

  1. Log in as the database owner (icsuser).

  2. To restore a specific calendar that was saved to a backup file using the csbackup utility, use the csrestore utility calendar command with the -c option.

    The filename extension (.ics or .xml) of the backup file indicates the format in which the calendar was saved.

    For example, to restore the calendar jsmithcal@sesta.com that was saved in iCalendar (text/calendar MIME) format to the file jsmith.ics located in the backupdir directory:

    csrestore -c jsmithcal@sesta.com calendar backupdir/jsmith.ics

    Or, to restore the calendar jsmithcal@sesta.com that was saved in XML (text/calendar MIME) format to the file jsmith.xml located in the bcakupdir directory:

    csrestore -c jsmithcal@sesta.com calendar backupdir/jsmith.xml