ZCS Administrator's Guide 8.0.4
ZCS Administrator's Guide 8.0.4
Network Edition

Appendix A Command-Line Utilities > zmarchivesearch

This command is used to search across account archives. You can search for archives that match specific criteria and save copies to a directory.
zmarchivesearch {-m <user@domain.com>} {-q <query_string>} [-o <offset>] [-l <limit>] [-d <output_directory>]
<arg> Directory to write messages to. If none is specified, then only the headers are fetched. Filenames are generated in the form
This example is to search archives on a specified server and put a copy of the archive in a specified directory.
zmarchivesearch -m user1@yourdomain.com -q “in:sent” -o 0 -l 30 -d /var/tmp
Copyright © 2013 VMware Inc.