Backup
Nuxeo supports hot backup of your data.
If you have followed the recommendations, then you have configured Nuxeo to use a "true" database (instead of the default Derby) and have set a path for nuxeo.data.dir in your nuxeo.conf. In that case:
- simply first backup your database (make a SQL dump),
- then backup your data on filesystem.
Performing the backup in that order (the database first, then the filesystem) will ensure backup consistency (more details).
If you didn't configure Nuxeo to use a database, then the default database is embedded in the data directory but you will have to stop the server before backup.
If you didn't configure Nuxeo data directory (nuxeo.data.dir in nuxeo.conf), then you have to find the default path which depends on the server (Tomcat/JBoss) and the Nuxeo version (look at the data directory value in the Admin Center).
For Tomcat, it should be $TOMCAT/nxserver/data. For JBoss, it should be $JBOSS/server/default/data.
Restore
- Restore the database and data filesystem you had previously backed up.
- Configure Nuxeo to use those database and data directory.
- Start Nuxeo.