ZCS Administrator Guide 8.0
ZCS Administrator Guide 8.0
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>]
Short Name
<arg> Directory to write messages to. If none is specified, then only the headers are fetched. Filenames are generated in the form
<arg> Sets the limit for the number of results returned. The default is 25
Allows printing of status messages while the search is being executed
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 © 2012 VMware Inc.