Files
dbx/docs/content/docs/config-export.mdx
T
t8y2 6a5a380fdd docs: migrate from VitePress to Fumadocs (Next.js)
- Replace VitePress with Fumadocs + Next.js for documentation site
- Configure i18n (English + 简体中文) with language switcher
- Migrate all 17 guide documents to MDX format with updated content
- Add ocean theme, GitHub/Discord/QQ social links
- Update GitHub Actions workflow for Next.js static export
- Update .gitignore for .next, out, .source directories
2026-05-06 10:17:17 +08:00

37 lines
1.1 KiB
Plaintext

---
title: Config Export/Import
description: Export and import database connections with encrypted passwords to migrate between machines.
---
# Config Export/Import
Export your database connections (with encrypted passwords) to migrate between machines.
## Export
1. Click the **Export** button in the sidebar header
2. Enter a passphrase to encrypt your passwords
3. Choose a save location
4. The exported file contains all connections with passwords, encrypted
## Import
1. Click the **Import** button in the sidebar header
2. Select the exported file
3. If encrypted, enter the passphrase
4. Connections are imported with passwords restored
## Security
- Passwords are encrypted using AES-256-GCM with PBKDF2 key derivation
- Without the passphrase, the file cannot be decrypted
- The export file is a standard JSON file that can be transferred via USB drive, cloud storage, etc.
## Backward Compatibility
Import also supports:
- Plain JSON files exported from older versions (without passwords)
- Raw connection config arrays
Connections are deduplicated by name + host + port during import.