Difference between revisions of "Change frequency of deleting backups"
m (→Change frequency of deleting backups) |
|||
Line 13: | Line 13: | ||
0 0 * * * /opt/zimbra/bin/zmbackup -del 1m --mail-report | 0 0 * * * /opt/zimbra/bin/zmbackup -del 1m --mail-report | ||
− | Adjust this using 'crontab'. '1m' is 1 month. This can be changed to d(days) and m(month) as | + | Adjust this using 'crontab -e'. '1m' is 1 month. This can be changed to d(days) and m(month) as needed. |
− | Submitted by: Shashank | + | Submitted by: Shashank Tewari |
Revision as of 09:03, 11 April 2018
Change frequency of deleting backups
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