Change frequency of deleting backups: Difference between revisions
(Created page with "=== <h1>Change frequency of deleting backups</h1> === <hr> <br> <h2>Problem: </h2> The frequency with which backups are deleted needs to be changed. <h2>Solution: </h2> Run...") |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== | {{BC|Certified}} | ||
__FORCETOC__ | |||
<div class="col-md-12 ibox-content"> | |||
=Change frequency of deleting backups= | |||
<hr> | <hr> | ||
{{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|{{ZCS 8.0.x}}|{{ZCS 7.x}}|}} | |||
{{WIP}} | |||
====Problem==== | |||
The frequency with which backups are deleted needs to be changed. | |||
====Solution==== | |||
Run the following as the zimbra user: | Run the following as the zimbra user: | ||
crontab -l | grep -i backup | |||
There should an output similar to the following: | There should an output similar to the following: | ||
0 0 * * * /opt/zimbra/bin/zmbackup -del 1m --mail-report | |||
Adjust this using 'crontab -e'. '1m' is 1 month. This can be changed to d(days) and m(month) as needed. | |||
{| class="wikitable" style="background-color:#d0f0c0;" cellpadding="10" | |||
|'''Submitted by''': Shashank Tewari | |||
|} | |||
{{Article Footer|ZCS 8.8, 8.7, 8.6, 8.0.x, 7.x|2017-08-23}} | |||
Latest revision as of 02:43, 17 August 2018
Change frequency of deleting backups
- This article is a Work in Progress, and may be unfinished or missing sections.
Problem
The frequency with which backups are deleted needs to be changed.
Solution
Run the following as the zimbra user:
crontab -l | grep -i backup
There should an output similar to the following:
0 0 * * * /opt/zimbra/bin/zmbackup -del 1m --mail-report
Adjust this using 'crontab -e'. '1m' is 1 month. This can be changed to d(days) and m(month) as needed.
Submitted by: Shashank Tewari |