Skip to content

Commit e633ebe

Browse files
d-bytebaseclaude
andauthored
docs: remove embedded PostgreSQL backup instructions from upgrade guide (#807)
Remove the embedded PostgreSQL backup and restore section as it's no longer a recommended option. The documentation now only includes external PostgreSQL backup procedures, with the section heading updated to clarify this. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
1 parent a2d0afe commit e633ebe

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

mintlify/get-started/self-host/upgrade.mdx

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,17 @@ Start Bytebase with the new version using your existing Docker run command, upda
2222
**Production Safety:** Validate your upgrade procedure in a staging environment before executing it in production.
2323
</Warning>
2424

25-
## Back up and Restore
25+
## Back up and Restore (External PostgreSQL)
2626

27-
### External PostgreSQL (Recommended)
28-
29-
#### Creating a Backup
27+
### Creating a Backup
3028

3129
Execute the following command to create a complete database clone:
3230

3331
```text
3432
psql -h <<host>> -p <<port>> -U <<user>> metadb -c "CREATE DATABASE metadb_backup WITH TEMPLATE metadb;"
3533
```
3634

37-
#### Restoring from Backup
35+
### Restoring from Backup
3836

3937
1. Stop your Bytebase instance completely.
4038

@@ -59,25 +57,3 @@ Execute the following command to create a complete database clone:
5957
psql -h <<host>> -p <<port>> -U <<user>> postgres -c "DROP DATABASE metadb_backup"
6058
```
6159

62-
### Embedded PostgreSQL
63-
64-
#### Creating a Backup
65-
66-
Archive your entire data directory to preserve the embedded database:
67-
68-
```text
69-
tar -czf bytebase-backup.tar.gz /path/to/data
70-
```
71-
72-
#### Restoring from Backup
73-
74-
Follow these steps to restore your embedded PostgreSQL data:
75-
76-
1. Stop your Bytebase instance completely
77-
2. Extract and replace the data directory from your backup:
78-
79-
```text
80-
tar -xzf bytebase-backup.tar.gz -C /
81-
```
82-
83-
3. Start Bytebase with the previous version using the restored data directory

0 commit comments

Comments
 (0)