Open-Xchange backup

Revision as of 16:43, 15 January 2010 by Holgi (talk | contribs) (User Data)


This article describes what components are needed to back up Open-Xchange and it's data.


A backup of the configuration files is recommended once after installation and every change (also before and after any software update).

All configuration is in the directory


User Data

User Data is in the Mysql Database as well as in the location of the registered filestores as nomal files in the filesystem.

It is important that filestore and database are backed up at the same time. This is because the meta data for the files in the filestore directories are in the database. The best way to achieve this, is using snapshots or a similar mechanisms.


For the Filestore, standard tools can be used to perform the backup. Following command gives an overview of all filestore directories.



For the Database, the standard mysql tools can be used for a backup. If mysqldump is used to backup the database, following parameters are recommended:

mysqldump -–all-databases -–single-transaction


In case of data restore, it is needed to use database and filestore data that have been backed up at the same time to avoid inconsitencies. After a restore the consistency tool has to run for a basic check:


Single context restore

it is possible to only restore a single context from within a complete mysql database dump. This is described in the Installation and Administration Manual: