Product SiteDocumentation Site

Chapter 6. Running the Archiver

6.1. Performing archiving task
6.1.1. From the command line
6.2. Cleanup
6.2.1. From the command-line

6.1. Performing archiving task

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

6.1.1. From the command line

The following command performs an archive run for all users:
zarafa-archiver -A
Passing option --local-only to zarafa-archiver tells it to archive only the primary stores that live on the server to which zarafa-archiver is connected. Unless configured otherwise in the configuration file, this is the server on which zarafa-archiver is run:
zarafa-archiver -A --local-only
To run zarafa-archiver for a specific user use the -u option:
zarafa-archiver -u <user name> -A
It’s recommended to perform an 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