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

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 10-16-2009, 10:46 AM
Elite Member
 
Posts: 376
Default 6.0.1 Backups eating all drive space

I updated to 6.0.1 from 5.18 last month, Sep 21 to be exact. At that time only 40% of the available drive space was used. Today I noticed that 80% was used. Through looking at the stats log, I can see each time weekly full backup is run, it eats about 15%. This is really different from what happened with version 5.

Will it keep doing this? I forsee running out of drive space really soon.
__________________
Culley
Mail | Dell 2950III | 2x Quad Core 5420 | 8gb RAM | 6x 146gb SAS RAID 0+1 | Red Hat 5.3 | Zimbra 6.0.10 Network Edition
Test | VMware ESXi Whitebox | Phenom II Black 3.2ghz | 12gb RAM | 6x 1tb SATA RAID 0+1 | CentOS 5.4 | FOSS, Not in use now
Reply With Quote
  #2 (permalink)  
Old 10-16-2009, 10:57 AM
Elite Member
 
Posts: 376
Default

It looks like the /opt/zimbra/backup folder is sitting at 229gb, while /opt/zimbra/store is only 57gb. In 5.0.x we were using about 120gb total, now it's nearly 300gb.

Why?Are backups not compressed at all?
__________________
Culley
Mail | Dell 2950III | 2x Quad Core 5420 | 8gb RAM | 6x 146gb SAS RAID 0+1 | Red Hat 5.3 | Zimbra 6.0.10 Network Edition
Test | VMware ESXi Whitebox | Phenom II Black 3.2ghz | 12gb RAM | 6x 1tb SATA RAID 0+1 | CentOS 5.4 | FOSS, Not in use now

Last edited by quietas; 10-16-2009 at 11:03 AM..
Reply With Quote
  #3 (permalink)  
Old 10-16-2009, 02:29 PM
Partner (VAR/HSP)
 
Posts: 260
Default

I noticed the same thing, and have subsequently reduced the amount of backups I keep, and ship the backups off to another server every night. I think they are compressed, but something is taking all the diskspace somehow. Maybe a stuck thread is not releasing it.
__________________
http://www.solutionsfirst.com.au/hosting/zimbra/
Australia's premier Zimbra Hosting Partner
Resellers wanted!
Reply With Quote
  #4 (permalink)  
Old 10-16-2009, 07:59 PM
Moderator
 
Posts: 1,554
Default

backups can be compressed or uncompressed, it depends on hte -z argument to zmbackup in the crontab entries. it could be possible that you had this before, but the upgrade process removed it. i'd take a look

you can maybe get a better idea by looking at the size of the backups you have in /opt/zimbra/backup/sessions. an easy way to get a listing would be like

du -m -max-depth=1 /opt/zimbra/backup/sessions
Reply With Quote
  #5 (permalink)  
Old 10-19-2009, 09:25 AM
Elite Member
 
Posts: 376
Default

Where would this hte setting be? I don't see it in /etc/crontab or in crontab.daily.
__________________
Culley
Mail | Dell 2950III | 2x Quad Core 5420 | 8gb RAM | 6x 146gb SAS RAID 0+1 | Red Hat 5.3 | Zimbra 6.0.10 Network Edition
Test | VMware ESXi Whitebox | Phenom II Black 3.2ghz | 12gb RAM | 6x 1tb SATA RAID 0+1 | CentOS 5.4 | FOSS, Not in use now
Reply With Quote
  #6 (permalink)  
Old 10-19-2009, 05:15 PM
Moderator
 
Posts: 1,554
Default

the best way to edit the cron files is using cron -e. make sure you're the zimbra user. it will spawn the default editor for this shell so if you have a favorite editor before you do naything else do

Code:
export VISUAL="nano -w"
replace nano -w (the -w specifies no word wrap) with whatever editor you prefer . Then do

Code:
crontab -e
you'll then be in the editor for the zimbra crontab entry. you want to find the backup lines that will look something like this

Code:
# BACKUP BEGIN
0 0 * * * /opt/zimbra/bin/zmbackup -del 1m
0 22 * * 5 /opt/zimbra/bin/zmbackup -f  -z -a all 
0 19 * * 0-4,6 /opt/zimbra/bin/zmbackup -i -z 
# BACKUP END
Yours might be slightly different times, but the important thing is that -z option which tells the backups to compress. When you've added it to your full and incremental backups, exit your editor with saving and you should see a message at the prompt saying that the new crontab was installed.
Reply With Quote
  #7 (permalink)  
Old 10-20-2009, 03:33 AM
Partner (VAR/HSP)
 
Posts: 260
Default

Interesting. my backups were not compressed anymore - just turned on that option and I will see how we go.
__________________
http://www.solutionsfirst.com.au/hosting/zimbra/
Australia's premier Zimbra Hosting Partner
Resellers wanted!
Reply With Quote
  #8 (permalink)  
Old 10-20-2009, 08:54 AM
Elite Member
 
Posts: 376
Default

I see that also. The -z option is not there for either of the last two lines in bdial's example.

I don't suppose anyone has put in an RFE for having this added to the Admin Console?

It seems that this should definitely be part of the config options. Turn off if it uses too much CPU time, too much drive space, or too much time to perform.
__________________
Culley
Mail | Dell 2950III | 2x Quad Core 5420 | 8gb RAM | 6x 146gb SAS RAID 0+1 | Red Hat 5.3 | Zimbra 6.0.10 Network Edition
Test | VMware ESXi Whitebox | Phenom II Black 3.2ghz | 12gb RAM | 6x 1tb SATA RAID 0+1 | CentOS 5.4 | FOSS, Not in use now
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.