ZCS Administrator's Guide, Network Edition 4.5, Rev 2 11/07
Table of Contents Previous Next Index


Appendix A   Command-Line Utilities : zmbackup

zmbackup
This tool performs full backups and incremental backups for a designated mail host.
This utility has short option names and full names. The short option is preceded by a single dash, while the full option is preceded by a double dash. For example, -f is the same as --fullBackup.
Syntax
One of -f, -i, or -del must be specified.
zmbackup {-f | -i | del} {-a <arg>} [options]
Description
 
Short Name
<arg> Account email addresses separated by white space or all for all accounts
<arg> Deletes the backups including and prior to the specified label, date (YYYY/MM/DD[-hh:mm:ss]) or period (nn(d|m|y]).
--incrementalBackup
<arg> Mail server host name. For format, use either the plain host name or the server.domain.com name. The default is the localhost name.
<arg> Specifies the target backup location. The default is <zimbra_home>/backup.
Examples
In these examples, the server (-s) is server1.domain.com. The (-t) is not required if the target is the default directory, (zimbra_home/backup).
zmbackup -f -a all -s server1.domain.com
zmbackup -i -a all -s server1.domain.com
Perform full backup of only user1’s mailbox on server1. Note that hostname does not need full domain if account is used.
zmbackup -f -a user1@domain.com -s server1
Perform incremental backup of user1’s mailbox on server1
zmbackup -i -a user1@domain.com -s server1

Appendix A   Command-Line Utilities : zmbackup

Table of Contents Previous Next Index
ZCS Administrator's Guide, Network Edition 4.5, Rev 2 11/07
Copyright © 2007 Zimbra Inc.