Difference between revisions of "Change frequency of deleting backups"

(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...")
 
Line 8: Line 8:
  
 
Run the following as the zimbra user:  
 
Run the following as the zimbra user:  
<pre>crontab -l | grep -i backup </pre>
+
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'. '1m' is 1 month. This can be changed to d(days) and m(month) as well.
  
<pre>0 0 * * * /opt/zimbra/bin/zmbackup -del 1m --mail-report</pre>
 
  
Adjust this using 'crontab'. '1m' is 1 month. This can be changed to d(days) and m(month) as well.
 
  
  
Regards,<br>
+
Submitted by:  Shashank Tiwari
Shashank Tiwari
 

Revision as of 19:23, 21 August 2017

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'. '1m' is 1 month. This can be changed to d(days) and m(month) as well.



Submitted by: Shashank Tiwari

Jump to: navigation, search