Cleaning up ZCS installation after many upgrades

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Chicken76
Posts: 21
Joined: Sat Sep 13, 2014 2:28 am

Cleaning up ZCS installation after many upgrades

Postby Chicken76 » Fri Aug 18, 2017 8:12 am

I have recently upgraded to 8.7.11 an installation that started may years ago with 8.0.0 with upgrades along the way, and found some things that may need trimming and would like some advice in order to avoid breaking something.

1. /opt/zimbra/zmstat has years and years of .gz archives. I don't really need to look that far back into the past. Is there a command to discard the ones older than a certain date, or can I just simply delete them?

2. I've counted 22 broken symlinks in /opt/zimbra. Since my ZCS is working, I'm guessing they are no longer needed. Can I delete them?
Image

3. Old folders in /opt/zimbra/data/clamav/db
Image
I'm guessing the folders with dates from 2012 and 2013 can be deleted?


Ash74
Posts: 10
Joined: Sat Sep 13, 2014 2:56 am

Re: Cleaning up ZCS installation after many upgrades

Postby Ash74 » Wed Aug 30, 2017 12:55 pm

I was about to ask the exact same questions :) - too bad there is so little response in these forums.

Also: will /opt/zimbra/common be a somewhat sticky place from now on? Had to fix several mta* symlinks inside /etc/alternatives/
User avatar
DualBoot
Elite member
Elite member
Posts: 1073
Joined: Mon Apr 18, 2016 8:18 pm
Location: Earth
ZCS/ZD Version: ZCS FLOSS - 8.7.11 Mutli servers

Re: Cleaning up ZCS installation after many upgrades

Postby DualBoot » Wed Aug 30, 2017 2:47 pm

Hello,

Symlinks without target are dead symlinks so you can delete them.

For the other files it depends on :
- last time access
- are you lucky ? :twisted:

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 12 guests