Doing backups is not part of Gentics CMS – doing backups is part of each customer’s liability.
Backing up database tables while Gentics CMS is up and running will most certainly lead to data inconsistencies.
The following steps may vary, depending on your system. Please adapt your steps accordingly.
1 Database Backup
Create a backup of your MySQL database.
# stop Gentics CMS # dump the database mysqldump --max_allowed_packet=512M -u root -h 127.0.0.1 -P 42006 -p node_utf8 > /Node/tmp/node_utf8.sql # NOTE: You can decide if want to backup any contentrepositories # mysqldump --max_allowed_packet=512M -u root -h 127.0.0.1 -P 42006 -p contentrepository > /Node/tmp/cr.sql
2 File Backup
This is the recommended way to backup your system
Backup your database first
# stop Gentics CMS # create a full backup tar cvfz /backup/Node-`date +%F`.tar.gz /Node # start Gentics CMS
3 Differential Backup
Backup your database first
rdiff-backup
allows you to restore the system to a state at a given point in time.
# stop Gentics CMS # create backup using rdiff-backup rdiff-backup /cms/ /backup/Node # start Gentics CMS