ab479e61ff
- Пример wg-easy backup (db.json) - Пример 3x-ui export - Подробная документация по импорту - Инструкции по получению backup файлов - Список импортируемых данных
Import Examples
This directory contains example backup files from different VPN panels that can be imported into Amnezia VPN Panel.
wg-easy-backup-example.json
Example backup file from wg-easy panel (db.json format).
Features:
- Contains 3 clients with different configurations
- Includes public/private keys and pre-shared keys
- Shows enabled and disabled clients
- Preserves original IP addresses
How to get from wg-easy:
# SSH into your wg-easy server
ssh user@your-server
# Copy the database file
docker cp wg-easy:/app/data/db.json ./wg-easy-backup.json
3x-ui-backup-example.json
Example export file from 3x-ui panel.
Features:
- Contains 3 clients with traffic statistics
- Includes expiration dates and traffic limits
- Shows enabled and disabled clients
- Contains server settings (port, interface, MTU)
How to get from 3x-ui:
- Login to your 3x-ui panel
- Go to Settings
- Click "Export" button
- Save the JSON file
Import Process
-
Create New Server:
- Go to "Servers" → "Add Server"
- Fill in SSH connection details
- Check "Import from existing panel"
-
Select Panel Type:
- Choose "wg-easy" or "3x-ui"
- Upload your backup file
-
Deploy:
- Click "Create Server"
- Wait for deployment
- Clients will be imported automatically
What Gets Imported
From wg-easy:
- ✅ Client names
- ✅ Public/private keys
- ✅ Pre-shared keys
- ✅ IP addresses
- ✅ Enabled/disabled status
- ✅ Creation timestamps
From 3x-ui:
- ✅ Client names (from email field)
- ✅ Traffic limits (totalGB)
- ✅ Expiration dates
- ✅ Enabled/disabled status
- ⚠️ Keys will be auto-generated (3x-ui doesn't export them)
- ⚠️ IP addresses will be auto-assigned
Troubleshooting
Import fails with "Invalid JSON format":
- Ensure your backup file is valid JSON
- Check that it matches the expected format for your panel type
Some clients not imported:
- Check import history in the panel
- Review error messages for specific clients
- Ensure client names are unique
Keys not working after import:
- wg-easy imports preserve original keys
- 3x-ui imports generate new keys (clients need new configs)