Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-22-2010, 06:48 AM
Starter Member
 
Posts: 2
Default Zimbra Backup Schedule

I want to change delete of old backups after 10 days

I have the default back schedule which looks like this

f 0 1 * * 6 -a all --mail-report
i 0 1 * * 0-5 --mail-report
d 1m 0 0 * * * --mail-report
I want to replace the "d 1m 0 0 * * * --mail-report" to "d 10d 0 0 * * * -mail-report" when I issus the command
Code:
zmschedulebackup -A d 10d "0 0 * * *"
This is the schudule that I get

f 0 1 * * 6 -a all --mail-report
i 0 1 * * 0-5 --mail-report
d 1m 0 0 * * * --mail-report
d 10d 0 0 * * *

I do not want "d 1m 0 0 * * * --mail-report"

This is a schudule that I want

f 0 1 * * 6 -a all --mail-report
i 0 1 * * 0-5 --mail-report
d 10d 0 0 * * *
Reply With Quote
  #2 (permalink)  
Old 04-22-2010, 10:02 AM
Zimbra Employee
 
Posts: 114
Default

Quote:
Originally Posted by svcity View Post
I want to change delete of old backups after 10 days

I have the default back schedule which looks like this

f 0 1 * * 6 -a all --mail-report
i 0 1 * * 0-5 --mail-report
d 1m 0 0 * * * --mail-report
I want to replace the "d 1m 0 0 * * * --mail-report" to "d 10d 0 0 * * * -mail-report" when I issus the command
Code:
zmschedulebackup -A d 10d "0 0 * * *"
This is the schudule that I get

f 0 1 * * 6 -a all --mail-report
i 0 1 * * 0-5 --mail-report
d 1m 0 0 * * * --mail-report
d 10d 0 0 * * *

I do not want "d 1m 0 0 * * * --mail-report"

This is a schudule that I want

f 0 1 * * 6 -a all --mail-report
i 0 1 * * 0-5 --mail-report
d 10d 0 0 * * *
Probably the fastest way to do this outside of completely replacing the schedule is just to use crontab -e and delete the extra del line.
Reply With Quote
  #3 (permalink)  
Old 04-22-2010, 11:15 AM
Starter Member
 
Posts: 2
Smile Thanks that worked

Thanks that worked
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.