Search found 8 matches
- Tue Mar 26, 2013 11:18 pm
- Forum: Administrators
- Topic: [SOLVED] Yet Another Backup Script for Community Version
- Replies: 662
- Views: 121555
[SOLVED] Yet Another Backup Script for Community Version
That's exactly what I've done on my CentOS 6.x is to put sendmail on it and disable the service on startup.
- Wed Feb 20, 2013 8:15 pm
- Forum: Administrators
- Topic: [SOLVED] Yet Another Backup Script for Community Version
- Replies: 662
- Views: 121555
[SOLVED] Yet Another Backup Script for Community Version
Attached is the modified script I'm using. Changed RSYNC option from this: RSYNC_OPTS="-aHK --delete --exclude=*.pid" to this: RSYNC_OPTS="-aHK --delete --exclude=data/ldap/mdb/db/data.mdb --exclude=*.pid" Between 1st RSYNC and 2nd Quick RSYNC I added the following two lines to r...
- Wed Feb 20, 2013 8:23 am
- Forum: Administrators
- Topic: [SOLVED] Yet Another Backup Script for Community Version
- Replies: 662
- Views: 121555
[SOLVED] Yet Another Backup Script for Community Version
Thanks guys for all the help here, my backup script is working with version 8.0.2
- Sun Feb 17, 2013 7:59 am
- Forum: Administrators
- Topic: [SOLVED] Yet Another Backup Script for Community Version
- Replies: 662
- Views: 121555
[SOLVED] Yet Another Backup Script for Community Version
finally changing from: /opt/zimbra/openldap/bin/mdb_copy /opt/zimbra/data/ldap/mdb/db /opt/zimbra/ldap-backup/`date +%s` to: /opt/zimbra/openldap/bin/mdb_copy /opt/zimbra/data/ldap/mdb/db /opt/zimbra/ldap-backup and now everything works. When restore the data.mdb just mdb_copy the other way should w...
- Sun Feb 10, 2013 12:08 pm
- Forum: Administrators
- Topic: [SOLVED] Yet Another Backup Script for Community Version
- Replies: 662
- Views: 121555
[SOLVED] Yet Another Backup Script for Community Version
[quote user="TheChief79"]Last time i had to backup and restore my Zimbra 8.0.2. For the ldap database i used the tool mdb_copy which is included in zimbra. So maybe this is a good way: 1. rsync zimbra to backup directory and exclude ldap db (maybe --exclude=/opt/zimbra/data/ldap/mdb/db/dat...
- Sat Feb 09, 2013 3:11 am
- Forum: Administrators
- Topic: [SOLVED] Yet Another Backup Script for Community Version
- Replies: 662
- Views: 121555
[SOLVED] Yet Another Backup Script for Community Version
Blason, Do you mean changing the following section from the zmback_v.0.8.sh ? # Stopping Zimbra echo "Stopping the Zimbra server..." echo su - $ZM_USER -c $ZM_HOME"bin/zmcontrol stop" if [ "$?" -eq "1" ] then echo "zmcontrol shutdown had an error!" m...
- Sat Feb 02, 2013 10:13 am
- Forum: Administrators
- Topic: [SOLVED] Yet Another Backup Script for Community Version
- Replies: 662
- Views: 121555
[SOLVED] Yet Another Backup Script for Community Version
[quote user="bma"]this works to me: add zimbra to PATH SHELL=/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/zimbra/bin:/opt/zimbra/postfix/sbin:/opt/zimbra/openldap/bin:/opt/zimbra/snmp/bin:/opt/zimbra/rsync/bin:/opt/zimbra/bdb/bin:/opt/zimbra/openssl/bin:...
- Thu Jan 24, 2013 4:08 am
- Forum: Administrators
- Topic: [SOLVED] Yet Another Backup Script for Community Version
- Replies: 662
- Views: 121555
[SOLVED] Yet Another Backup Script for Community Version
I'm facing the exact same issue after updated from 8.0.1 to 8.0.2, anyone have a working example of the modified backup script can share please !