Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Update backup/restore docs to allow parameterization for scripts (#1130)
Browse files Browse the repository at this point in the history
* update backup/restore docs to allow parameterization for scripts

* change backup/restore options to lowercase
  • Loading branch information
hubertdeng123 authored Jan 17, 2024
1 parent e27e504 commit 9f8acbe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/docs/self-hosted/backup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ docker compose run -v $(pwd)/sentry:/sentry-data/backup --rm -T -e SENTRY_LOG_L

# If using self-hosted version >= 23.3.1:
./scripts/backup.sh

# If using self-hosted version >= 24.1.0:
./scripts/backup.sh [user | organization | config | global]
```

<Alert title="Note" level="info">
Expand Down Expand Up @@ -96,6 +99,9 @@ docker compose run --rm -T web import /etc/sentry/backup.json

# If using self-hosted version >= 23.3.1:
./scripts/restore.sh

# If using self-hosted version >= 24.1.0:
./scripts/restore.sh [user | organization | config | global]
```

If you don't see any errors and the process exits with code `0`, congratulations, you have just
Expand Down

1 comment on commit 9f8acbe

@vercel
Copy link

@vercel vercel bot commented on 9f8acbe Jan 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

develop – ./

develop.sentry.dev
develop-git-master.sentry.dev

Please sign in to comment.