Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative backup and restore approach #2526

Closed
ingria opened this issue Oct 27, 2023 · 3 comments
Closed

Alternative backup and restore approach #2526

ingria opened this issue Oct 27, 2023 · 3 comments

Comments

@ingria
Copy link

ingria commented Oct 27, 2023

Problem Statement

I've been using sentry for years, and during that time I've had multiple times when I had to move my sentry instance to another server. And every time something doesn't go right and I end up installing and setting up new instance from scratch.

Here're the examples just from the last couple of months: #2424 #2524

I'm not alone with such a problems: a simple search for "backup" or "restore" on github shows a lot of issues (#2366, #2259, #2468 - that's just on the first page of the search results).

Solution Brainstorm

Maybe some other backup/restore approach would be better? Like copying all docker images and volumes across different machines?

@azaslavsky
Copy link
Contributor

We've been working hard on improving this workflow (we know it was broken prior to 23.9.1), and have released a number of improvements in this area (see the release notes for 23.9.1 and 23.10.0 for more). Can you try using the script from the latest version of Sentry (23.10.1), and reporting back if it still breaks for you? That's an important data point for us, and we're eager to make this better if there are still issues!

@ingria
Copy link
Author

ingria commented Oct 30, 2023

Just created a fresh installation specifically to test backup/restore. Both versions are master (web ui shows Sentry 23.11.0.dev 0ea10232).

Now I have this error:

RpcImportError(
    kind: Unknown,
    on: InstanceID(model: 'sentry.userip'),
    reason: Unknown internal error occurred: get() returned more than one UserIP -- it returned 2!
)

We've been working hard on improving this workflow

Sure, I'm just suggesting to add some alternative solution besides the backup/restore scripts.

@getsantry getsantry bot moved this from Waiting for: Community to Waiting for: Product Owner in GitHub Issues with 👀 Oct 30, 2023
@azaslavsky
Copy link
Contributor

This is a duplicate of #2468. This is a known issue I am actively working on - I expect to have a fix up later this week, or perhaps early next if I stumble on something unexpected.

Sure, I'm just suggesting to add some alternative solution besides the backup/restore scripts.

There is one: backing up the full volumes, as described in the docs

@github-actions github-actions bot locked and limited conversation to collaborators Nov 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Archived in project
Development

No branches or pull requests

2 participants