Sun Java System Calendar Server 6 2005Q4 Administration Guide

ProcedureTo Restore a User’s Default Calendar

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

  2. To restore a user’s default calendar that was saved to a backup file using the csbackup utility, use the csrestore utility defcal command.

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

    For example, to restore calendar user jsmith’s default calendar that was saved in iCalendar (text/calendar MIME) format to a file named jsmith.ics located in the backup directory backupdir:


    csrestore -a jsmith defcal backupdir/jsmith.ics

    To restore calendar user jsmith’s default calendar that was saved in XML (text/xml MIME) format to a file named jsmith.xml located in the backup directory backupdir:


    csrestore -a jsmith defcal backupdir/jsmith.xml