Zimbra CLI Commands: Calendar Resources | Zimbra

Document
Alert! This article is written for Zimbra OSE users. As of December 2023, Synacor will no longer be providing support for Zimbra OSE. You might want to consider trying out Carbonio Community Edition – Zextras’s free and open-source email and collaboration platform.

For additional guidance, check out our community articles detailing the process of migrating from your current platform to Carbonio CE.

In this article we are going to see how to manage Calendar Resources with CLI Commands using zmprov. As usual, for every command, we will show you the extendend and short form along with the syntax to be used.

Remember that all commands are intended to be executed logging in as Zimbra user, with the command: su - zimbra

Create Calendar Resource:

To create a Calendar Resource you need to use CreateCalendarResource (ccr) with the following syntax:

zmprov CreateCalendarResource {samplename@yourdomain} [attr1 value1 [attr2 value2...]]

Delete Calendar Resource:

To delete a Calendar Resource you need to use DeleteCalendarResource (dcr) with the following syntax:

zmprov DeleteCalendarResource {samplename@yourdomain|id}

Get Calendar Resource:

To get a Calendar Resource you need to use GetCalendarResource (gcr) with the following syntax:

zmprov GetCalendarResource {samplename@yourdomain|id}

Get All Calendar Resources:

To get all Calendar Resources you need to use GetAllCalendarResource (gacr) with the following syntax:

zmprov GetAllCalendarResource [-v] {yourdomain}

The -v attribute, stands for verbose. Verbose mode dumps full exception stack trace

Modify Calendar Resource:

To modify a Calendar Resource you need to use ModifyCalendarResource (mcr) with the following syntax:

zmprov ModifyCalendarResource {samplename@yourdomain|id} [attr1 value1 [attr2 value2...]]

Rename Calendar Resource:

To rename a Calendar Resource you need to use RenameCalendarResource (rcr) with the following syntax:

zmprov RenameCalendarResource {samplename@yourdomain|id} {newsamplename@yourdomain}

Search Calendar Resources:

To search Calendar Resources you need to use SearchCalendarResources (scr) with the following syntax:

zmprov SearchCalendarResources [-v] {yourdomain} [attr]
Download Zextras Suite for Zimbra OSE

Post your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Mail Backup: An important practice | Zimbra
Disaster Recovery Scenario | Zimbra | Zimbra