You must run the csrestore utility on the local machine where Calendar Server is installed, and you must first stop Calendar Server. The csrestore utility restores the calendar database, individual calendars, or a user’s default calendar that was saved using csbackup. Or, to back up calendar user JSmith’s default calendar in XML (text/xml MIME) format to a file named jsmith.xml: ![]() xml) that you specify for the output file determines which format is used.įor example, to back up calendar user JSmith’s default calendar in iCalendar (text/calendar MIME) format to a file named jsmith.ics: To back up a user’s default calendar to a text file in iCalendar or XML format, use the csbackup utility defcal command. Or, to backup the calendar JSmithcal in XML format (text/XML) to the file jsmith.xml in the bcakupdir directory:Ĭcbackup -c JSmithcal calendar backupdir/jsmith.xmlīacking Up a User’s Default Calendar to a File xml) of the backup file indicates the format.įor example, to backup the calendar JSmithcal in iCalendar format (text/calendar MIME) to the file jsmith.ics in the backupdir directory:Ĭcbackup -c JSmithcal calendar backupdir/jsmith.ics ![]() To backup a calendar to a backup file in iCalendar or XML format, use the csbackup utility calendar command. You can also specify a non-existent target backup directory and let csbackup create the directory for you.Ĭsbackup -c JSmithcal calendar jsmith.xml ![]() Therefore, if you specify a target backup directory that already exists, include the -f option when you run csbackup. For example, the following command fails if backupdir exists, even if the directory is empty: The csbackup utility fails if the target backup directory already exists and you do not specify the -f option.
0 Comments
Leave a Reply. |