Product SiteDocumentation Site

8.2. Perform archiving task

Archiving can be done for all users, all users on one primary server or on a per-user basis.

8.2.1. From the command-line

The following command performs one archive run for all users:
zarafa-archiver -A
Passing the --local-only option to zarafa-archiver causes it to only archive the primary stores that live on the server to which zarafa-archiver is connected. This is the server on which zarafa-archiver is executed unless otherwise configured in the configuration file.
zarafa-archiver -A --local-only
It’s also possible to explicitly specify which users primary store to archive:
zarafa-archiver -u <user name> -A
It’s recommended to perform the archiver run every night. This can be done by adding the following line to /etc/crontab.
0 1 * * * root [ -x /usr/bin/zarafa-archiver ] && /usr/bin/zarafa-archiver -A