za-aclsync
synchronises archive ACL settings with those of the primary store.
za-aclsync
will first determine the rights of the owner of the archive. After that it will get all the entries from the ACL of the current folder except those of the owner. Each right will be masked with the rights of the owner before being added to the ACL of the archive folder.
za-aclsync [options] [users] options: -h serverpath : Host to connect to. -s sslkey_file : SSL key file for authentication. -p sslkey_pass : Password for the SSL key file.
users
is a space separated list of users for which to synchronize the ACL settings. If no user is specified all users will be processed.
za-aclset
sets or updates permissions on an archive store for the owner of that store.
za-aclset [OPTIONS] [users...] options: -h | --host Host to connect to. Default: file:///var/run/zarafa Three formats are allowed for this option: UNIX socket : file://<path to the UNIX socket> HTTP : http://<host or IP>:<port>/zarafa Secure HTTP : https://<host or IP>:<port>/zarafa -s | --sslkey-file SSL key file for authentication. -p | --sslkey-pass Password for the SSL key file. -w | Grant write permissions on the archive. --writable <y|n> Enable or disable write permissions. --help Show this help message.
users
is a space separated list of users for which to synchronize the ACL settings. If no user is specified all users will be processed.
za-restore
is a utility that restores archived messages from an archive. Use za-restore
to destub all stubbed messages and restore all messages that were deleted after archiving. Do not drag and drop messages back from an archive to a main store in Outlook or Webaccess. Using za-restore
ensures that restored messages are sanitised, so that they can be re-archived properly later.
Usage: za-restore [OPTIONS] user OPTIONS: -h | --host : Host to connect to. Default: file:///var/run/zarafa -s | --sslkey_file : SSL key file for authentication. -p | --sslkey_pass : Password for the SSL key file. -l | --log-file : Specify log file. --detach : Detach the selected or all archive stores before starting the restore procedure. This avoids the Archiver from rearchiving restored messages. --unhook : Unhook the selected or all archive stores once the restore process has completed. This implies --detach and only works on archive stores. --remove : Remove the selected or all archive stores once the restore process has completed. This implies --unhook and only works on archive stores. --select-source : Select the source archive(s) by providing a comma separated list of archive indexes. The indexes specify which archives to restore from. The --detach, --unhook and --remove options only apply to the selected archives. The archive indexes can be obtained by listing the attached archives for a user: zarafa-archiver -u <user> -l. -v | --verbose : Increase console loglevel. Can be specified multiple times. -q | --quiet : Decrease console loglevel. Can be specified multiple times. -N | --dry-run : Don't actually modify anything. --help : Show this help message.
/tmp/john_doe_restore.log
> za-restore --unhook -s /etc/zarafa/ssl/archiver.pem -p password \ -l /tmp/john_doe_restore.log john_doe
file:///var/run/zarafa
. The sslkey_file and sslkey_pass are specified in order to connect to the other nodes in the cluster.