ZCS Administrator Guide 8.0
ZCS Administrator Guide 8.0
Network Edition


Appendix A Command-Line Utilities > zmschedulebackup

zmschedulebackup
This command is used to schedule backups and add the command to your cron table.
The default schedule is as follows:
*
*
Each crontab entry is a single line composed of five fields separated by a blank space. Specify the fields as follows:
*
minute — 0 through 59
*
hour — 0 through 23
*
day of month — 1 through 31
*
month — 1 through 12
*
day of week — 0 through 7 (0 or 7 is Sunday, or use names)
Type an asterisk (*) in the fields you are not using.
This command automatically writes the schedule to the crontab.
Syntax
zmschedulebackup {-q|-s|-A|-R|-F|-D}[f|i|d|] [“schedule”]
Description
 
Save the schedule. Allows you to save the schedule command to a text file so that you can quickly regenerate the backup schedule when the system is restored.
no compression
Backs up blobs in compressed zip files. Ignored if --zipStore is specified.
Can be used only to designate a full back target location. The default is /opt/zimbra/backup.
Note:
You cannot designate a target for incremental backups. If a target (-t) location is added for incremental scheduled backups, it is ignored.
--excludeBlobs
--includeBlobs
--excludeHsmBlobs
Exclude blobs on HSM volumes from full backup. If unspecified, the server config is used.
--includeHsmBlobs
Include blobs on HSM volumes in full backup. If unspecified, the server config is used.
--excludeSearchIndex
Exclude search index form full backup. If unspecified, the server config is used.
--includeSearchIndex
Include search index in full backup. If unspecified, the server config is used.
<time specifier> Incremental backup. Incremental backup is not used with the auto-grouped backup mode.
Examples
*
zmschedulebackup -D
*
zmschedulebackup -R f [“schedule”]
*
zmschedulebackup -A f [“schedule”]
*
zmschedulebackup -A i [“schedule”]
*
zmschedulebackup -q
*
To display the schedules on one line as a command, so that they can be copied to a text file and saved to be used if the application needs to be restored.
zmschedulebackup -s
Copyright © 2012 VMware Inc.