Per User Mailbox Backup (OE Version): Difference between revisions
m (→How to use it) |
m (→Method used) |
||
Line 8: | Line 8: | ||
== Method used == | == Method used == | ||
- | - User concerned by this backup have a a specific C.O.S. | ||
- first script connects to ldap server and builds the list of concerned users | - first script connects to ldap server and builds the list of concerned users | ||
- second script loops on the user list and creates a specific sql file with the appropriate commands for a restore | - second script loops on the user list and creates a specific sql file with the appropriate commands for a restore |
Revision as of 13:23, 23 April 2007
This is actually *Work in progress*
Scope
This is a solution to backup mails on a user basis for the Open Source Version. It will permit to restore a mailstore for a particular user without having to restore the full /opt/zimbra directory.
It is based on a cold backup method.
Method used
- User concerned by this backup have a a specific C.O.S. - first script connects to ldap server and builds the list of concerned users - second script loops on the user list and creates a specific sql file with the appropriate commands for a restore
How to use it
This is how I plan to use it :
- stop zimbra
- take lvm snapshot
- start ldap & mysql services
- run the specific scripts for user backup
- start zimbra completely
- run the backup as usual
- close the snapshot