ZCS Administrator's Guide, Network Edition 5.0 (Rev 5.0.19 September 2009)
Table of Contents Previous Next Index


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.
Removes the current schedule and cancels all scheduled backups.
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.
<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

Appendix A Command-Line Utilities : zmschedulebackup

Table of Contents Previous Next Index
ZCS Administrator's Guide, Network Edition 5.0 (Rev 5.0.19 September 2009)
Copyright © 2009 Zimbra Inc.