Skip to content

05 Data management

Shubhra Prakash Nandi edited this page May 29, 2026 · 33 revisions

Backup

Data

Make regular backup of the following.

  1. Sync database (logical or physical).
  2. datadir directory.

Configuration

Backup the following before and after their contents are modified.

  1. conf directory.

Migration

WARNING: Do not attempt any of the below mentioned migration activities while the application is online as it may result in data corruption and/or data inconsistency.

Data directory

Move the directory pointed to by datadir configuration key in the conf file to new location. Update datadir configuration key in the conf file to new location.

Cache directory

Move the directory pointed to by cachedir configuration key in the conf file to new location. Update cachedir configuration key in the conf file to new location.

Sync database

Check DATA_MIGRATION file.

Application

When moving the application from one system to another install the same version of the application in the new system. Restore data and configuration from your backup to the new system. Optionally copy cachedir directory (if using 'local_fs' as the caching backend) from the old system to the new system.

Clone this wiki locally