Hi Folks,
The examples I see all suggest that I need to backup the entire /opt/zimbra/... directory tree. This seems excessive. Is there a sensible subset?
Thanks for the help,
Chris.
Printable View
Hi Folks,
The examples I see all suggest that I need to backup the entire /opt/zimbra/... directory tree. This seems excessive. Is there a sensible subset?
Thanks for the help,
Chris.
I also want to do full backups after upgrading to zimbra 8 (zcs 8).
All the scripts I find only do a "cp -rp" or similar and as ldap database is 85Gig it becomes messy ;)
I still want to do a full backup (including ldap) but not the ldap database file.
So, If none has a free or open source suggestion I will probably write one myself that will do (not a script, just a process description):
(set up checks)
/opt/zimbra/libexec/zmslapcat /opt/zimbra/ldapbackup
/opt/zimbra/libexec/zmslapcat -c /opt/zimbra/ldapbackup
(set up checks)
su - zimbra -c '$zimbra/bin/zmcontrol stop'
(set up checks)
tar -cf /backupdir/zimbra.date.tar /opt/zimbra --exclude 'data/ldap/mdb/db'
(set up checks)
su - zimbra -c '$zimbra/bin/zmcontrol start'
(set up checks)
(log and mail log)
(set up checks)
Instead of tar I may use "cp -rp [!something]" or "rsync --exclude 'data/ldap/mdb/db'" or something...
Any suggestions?
//Sigtrap