Files
dbx/docs/content/docs/config-export.mdx
T
t8y2 89fa8c02be docs: add landing page and upgrade all documentation with advanced components
- Add product landing page with hero section, stats, feature cards, database badges, comparison table, and screenshots
- Register Fumadocs MDX components (Tabs, Steps, Callout, Cards, Accordions) globally
- Rewrite all 17 doc pages (CN + EN) with richer content, use cases, and advanced components
- Add competitive comparison table (vs DBeaver/Navicat/TablePlus)
- Add ~300 lines of responsive landing page CSS
2026-05-07 14:53:35 +08:00

53 lines
1.3 KiB
Plaintext

---
title: Config Export/Import
description: Export database connections with AES-256-GCM encrypted passwords. Migrate securely between machines.
---
<Callout type="info">
Export your database connections with encrypted passwords (AES-256-GCM). Securely migrate between machines.
</Callout>
## Export
<Steps>
<Step>
### Start Export
Click the **Export** button in the sidebar header.
</Step>
<Step>
### Set Passphrase
Enter a passphrase to encrypt your passwords.
</Step>
<Step>
### Save File
Choose a save location. The exported file contains all connections with passwords, encrypted.
</Step>
</Steps>
## Import
<Steps>
<Step>
### Start Import
Click the **Import** button in the sidebar header.
</Step>
<Step>
### Select File and Decrypt
Select the exported file and enter the passphrase.
</Step>
<Step>
### Done
Connections are imported with passwords restored. Deduplicated by name + host + port.
</Step>
</Steps>
## Security
- Passwords are encrypted using **AES-256-GCM** with **PBKDF2** key derivation
- Without the passphrase, the file cannot be decrypted
- The export file is standard JSON, transferable via USB drive, cloud storage, etc.
## Backward Compatibility
Import also supports plain JSON files from older versions (without passwords) and raw connection config arrays.