CLI zmschedulebackup Network Edition only: Difference between revisions
(→zmschedulebackup: Updating content, not complete) |
(Updating content to ZCS 6.0... changes not complete) |
||
Line 53: | Line 53: | ||
zmschedulebackup -s | zmschedulebackup -s | ||
= | =ZCS 5.0= | ||
*http://www.zimbra.com/docs/ne/5.0.19/administration_guide/A_app-command-line.18.10.html#1268053 | |||
=ZCS 4.5= | |||
*http://www.zimbra.com/docs/ne/4.5.10/administration_guide/A_app-command-line.14.5.html#1173386 | |||
=Related Articles= | |||
For more information on planning backup schedules and using the zmschedulebackup command, read the Zimbra backup/restore blog post at http://www.zimbrablog.com/blog/archives/2007/02/45-admins-and-backuprestore.html. | For more information on planning backup schedules and using the zmschedulebackup command, read the Zimbra backup/restore blog post at http://www.zimbrablog.com/blog/archives/2007/02/45-admins-and-backuprestore.html. | ||
{{Article Footer|ZCS 6.0.x|5/2/2006}} | |||
[[Category:Command Line Interface]] | [[Category:Command Line Interface]] | ||
[[Category:ZCS 6.0]] | |||
[[Category:ZCS 5.0]] | |||
[[Category:ZCS 4.5]] |
Revision as of 18:47, 5 January 2010
For the most recent information on this CLI, including syntax and description, see ZCS Administrator's Guide Network Edition > Appendix A Command-Line Utilities.
ZCS 6.0.x
- zmschedulebackup now supports -u for uncompressed zip blob storage.
zmschedulebackup
This command is used to schedule backups and add the command to your cron table. The default schedule is as follows:
- Full backup, every Saturday at 1:00 a.m. (0 1 * * 6)
- Incremental backup, Sunday through Friday at 1:00 a.m. (0 1 * * 0-5)
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
Examples
- To schedule the default full and incremental backup
zmschedulebackup -D
- To replace the existing schedule with a new schedule
zmschedulebackup -R f [“schedule”]
- To add an additional full backup to the existing schedule
zmschedulebackup -A f [“schedule”]
- To add an additional incremental backup to the existing schedule
zmschedulebackup -A i [“schedule”]
- To display the existing schedules
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
ZCS 5.0
ZCS 4.5
Related Articles
For more information on planning backup schedules and using the zmschedulebackup command, read the Zimbra backup/restore blog post at http://www.zimbrablog.com/blog/archives/2007/02/45-admins-and-backuprestore.html.