From 32561cba459aa3630ed51d6c71f6d29fbb98ab03 Mon Sep 17 00:00:00 2001 From: Lucky <14868134+L-U-C-K-Y@users.noreply.github.com> Date: Sat, 6 Apr 2024 14:56:36 +0200 Subject: [PATCH] docs(backup): mention skip-user-creation command for a clean database Not sure, but I think we should use this command to migrate an empty database that is intended to be used as a restore target? --- src/docs/self-hosted/backup.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/self-hosted/backup.mdx b/src/docs/self-hosted/backup.mdx index 73a6b06999..05b36047af 100644 --- a/src/docs/self-hosted/backup.mdx +++ b/src/docs/self-hosted/backup.mdx @@ -153,7 +153,7 @@ restored your backup. We strongly recommended that you restore your backup on the same version of Sentry -on a fresh install (empty database but migrations are run). Otherwise, you are very likely to hit +on a fresh install (empty database but migrations are run). You can use the command `./install.sh --skip-user-creation` to migrate a fresh install without creating users, as they are restored from the backup. Otherwise, you are very likely to hit errors and may corrupt your database.