User Tools

Site Tools


wiki:sentry_backup

Backup sentry

For version before 23.3.1 run this from self-hosted-sentry directory:

chmod o+w sentry
docker-compose run -v $(pwd)/sentry:/sentry-data/backup  --rm -T -e SENTRY_LOG_LEVEL=CRITICAL web export /sentry-data/backup/backup.json
mv sentry/backup.json /root/sentry-config-backup_$(date +%F).json

The above will only backup users and projects, not historic event data.

Tested on

  • Sentry 22.10.0

See also

References

wiki/sentry_backup.txt · Last modified: 2023/08/31 13:26 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki