Skip to content

Backup

It is critical to regularly backup the CoreSight database, as it contains all your cartographies and inventory data.

Automated Backups

The system creates an automatic backup in /opt/coresight/backups/ right before an update is applied.

Manual Backups

You can backup the database file at any time:

bash
sudo cp /opt/coresight/server/data/coresight.db /path/to/secure/storage/coresight_backup_$(date +%F).db

Security Notice

The database is encrypted. Backing up the database file without the encryption key (DB_ENCRYPTION_KEY in .env) is useless. Always backup your .env file securely.

CoreSight Documentation