Nuxeo Backup Strategy
For more information about Nuxeo backup and restore, please refer to:
Find out Nuxeo database info and data folder http://doc.nuxeo.com/display/ADMINDOC/Backup+and+restore http://doc.nuxeo.com/display/ADMINDOC/Backup+and+restore
Find out Nuxeo database info and data folder
In Nuxeo web interface, select 'Admin Center' -> 'System Information' -> 'Setup', then we can see where is the database and where is the data folder.
Backup database
Use postgresql dump to backup Nuxeo database:
pg_dump dbname > outfile
For example, on the Nuxeo server:
pg_dump nuxeo > nuxeo_db_20130903.sql
You can create a compressed DB backup as follows:
pg_dump -Fc nuxeo > 20151225-nuxeo.bak
Backup Nuxeo data folder
example: Use rdiff to backup Nuxeo data folder: http://rdiff-backup.nongnu.org/examples.html
example: use rsync to backup the binaries folder: rsync -azv /Volumes/Work-Data/nuxeo-data-storage/binaries/ admin@nas.ghfip.com.au:/share/HDA_DATA/Backups/nuxeo-binaries/binaries
Execute the backup script periodically