getsentry / getsentry/self-hosted

Sentry shutdown by using backup.sh script

Open
#2,608 13 comments 5 reactions 0 assignees View on GitHub
Category: Docs
Dominant language
Shell
Stars
9.6k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
15

Description

### Self-Hosted Version

23.11.2

### CPU Architecture

x86_64

### Docker Version

23.0.1

### Docker Compose Version

2.16.0

### Steps to Reproduce

1. Run a normal self-hosted sentry
2. Execute `./scripts/backup.sh`

### Expected Result

Backup created and sentry keeps running like with the "old" backup method:
```
docker compose run -v $(pwd)/sentry:/sentry-data/backup --rm -T -e SENTRY_LOG_LEVEL=CRITICAL web export /sentry-data/backup/backup.json
```

### Actual Result

Backup created but sentry shutting down and not starting again after script finished. Must be manually started.

### Event ID

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.