Backing up and restoring Zimbra (Open Source Version): Difference between revisions

Line 2: Line 2:




== Backing Up ==
== Preparing to Back Up ==
It is always good practice to backup your copy of Zimbra in the event of unforeseen circumstances.
It is always good practice to backup your copy of Zimbra in the event of unforeseen circumstances.


Since all of the components Zimbra needs are stored in the Zimbra folder itself, you can simply copy the folder and past it at another location.
Since all of the components Zimbra needs are stored in the Zimbra folder itself, you can simply copy the folder and past it at another location.


You may want to use:
To prevent changes to any Zimbra databases during the copy processes you may wish to use:


>su zimbra
>su zimbra
Line 13: Line 13:
>zmcontrol stop
>zmcontrol stop


to terminate Zimbra.


to prevent changes to any Zimbra databases during the copy processes. If you get some kind of error, you may want to make sure that Zimbra has completly stopped by running:
 
If you get some kind of error, you may want to make sure that Zimbra has completly stopped by running:


>ps auxww | grep zimbra
>ps auxww | grep zimbra
Line 23: Line 25:
Copy Command: cp -r /opt/zimbra [location path]
Copy Command: cp -r /opt/zimbra [location path]


'''WARNING''': Make sure that the copy location has enough space to support your  
'''Note''': Make sure that the copy location has enough space to support your backup copy (ie the tmp folder probably isn't the best locaiton).
 
backup copy (ie the tmp folder probably isn't the best locaiton).

Revision as of 04:47, 29 March 2006

If you wish to have a more automated backup feature, you should try the [Network Version of Zimbra.]


Preparing to Back Up

It is always good practice to backup your copy of Zimbra in the event of unforeseen circumstances.

Since all of the components Zimbra needs are stored in the Zimbra folder itself, you can simply copy the folder and past it at another location.

To prevent changes to any Zimbra databases during the copy processes you may wish to use:

>su zimbra

>zmcontrol stop

to terminate Zimbra.


If you get some kind of error, you may want to make sure that Zimbra has completly stopped by running:

>ps auxww | grep zimbra

and kill any left over processes such as the log.


Copy Command: cp -r /opt/zimbra [location path]

Note: Make sure that the copy location has enough space to support your backup copy (ie the tmp folder probably isn't the best locaiton).

Jump to: navigation, search