mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #5479] [CLOSED] feat(db): add portable export option for host-specific settings #5893
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5893
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/5479
Author: @m4tinbeigi-official
Created: 6/22/2026
Status: ❌ Closed
Base:
main← Head:feat/portable-db-export📝 Commits (4)
13074ccfeat(db): add portable export optionf1e698fMerge branch 'main' into feat/portable-db-export0f0b565Merge branch 'main' into feat/portable-db-export065c168Merge branch 'main' into feat/portable-db-export📊 Changes
5 files changed (+168 additions, -7 deletions)
View changed files
📝
internal/database/dump_sqlite.go(+80 -3)➕
internal/database/dump_sqlite_portable_test.go(+70 -0)📝
internal/web/controller/server.go(+2 -1)📝
internal/web/service/server.go(+3 -2)📝
main.go(+13 -1)📄 Description
Refs #5004
Summary
PortableDumpOptionsfor SQLite dump export.webCertFilewebKeyFilesubCertFilesubKeyFile/server/getMigration?excludeHostSpecific=truex-ui migrate-db --dump <file> --exclude-host-specificTest
proxy.golang.orgreturned403 Forbiddenfor some Go modules.Notes
This keeps the default raw database backup behavior unchanged and adds an explicit portable export path for migrations to another host.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.