FileRise stores all persistent data on disk. Back up these paths:
/var/www/uploads(file data)/var/www/users(users, ACLs, admin config, Pro license)/var/www/metadata(indexes, tags, logs)
Notes:
- Logs live in
/var/www/metadata/logand can be rotated/pruned. - Sessions are ephemeral and do not need backups.
Recommended backup steps
- Stop the container or web server (best for consistency).
- Back up the three directories above.
- Store your
PERSISTENT_TOKENS_KEYsecurely (needed to decrypt admin config and tokens).
Restore steps
- Restore the three directories to the same paths.
- Ensure ownership/permissions are correct:
sudo chown -R www-data:www-data /var/www/uploads /var/www/users /var/www/metadata
sudo chmod -R 775 /var/www/uploads /var/www/users /var/www/metadata- Use the same
PERSISTENT_TOKENS_KEYas the original instance. - Start FileRise.
Encryption at rest
If encryption at rest is enabled:
/var/www/uploadsand/var/www/metadatamust be backed up together.- Keep your master key (
FR_ENCRYPTION_MASTER_KEYormetadata/encryption_master.key). - Losing the key makes encrypted data unrecoverable.
Pro notes
Pro bundle and license files live under /var/www/users by default. Restoring that directory restores Pro settings as well.