Cross-Device Sync
Securely transfer your entire Pontius setup to a new device using encrypted exports.
Overview
Pontius Sync lets you export your complete configuration to an encrypted file and import it on another device. This includes:
- Account configurations (email, labels, settings)
- Account credentials (passwords, app passwords)
- All configured aliases and their SMTP settings
- Knowledge base (contacts, templates, rules, patterns)
- Drafts
- Invoice history and company info
Exporting Your Configuration
Create an encrypted backup of your setup:
$ pontius sync exportEnter encryption password: ********Confirm password: ********Exported to: ./pontius-sync.encContains: - 2 accounts - 5 aliases - 23 contacts - 8 templates - 3 draftsKeep this file safe. You'll need the password to import.Export Options
# Export to specific location$ pontius sync export ~/Desktop/pontius-backup.enc# Export to current directory (default)$ pontius sync exportImporting on a New Device
On your new device, import the encrypted file:
$ pontius sync import pontius-sync.encEnter decryption password: ********Imported: - 2 accounts - 5 aliases - 23 contacts - 8 templates - 3 draftsSetup complete. Run 'pontius' to get started.pontius activate.Import Modes
Choose how to handle existing data when importing:
Merge Mode (Recommended)
Intelligently combine imported data with your existing setup:
$ pontius sync import backup.sync --mergeEnter decryption password: ********Merging... Contacts: 45 local + 38 imported = 52 merged (31 overlapping) Templates: 12 local + 8 imported = 15 merged (5 overlapping) Rules: 2 local + 2 imported = 2 merged (2 overlapping)Merge complete.Merge logic per data type:
| Data Type | Strategy |
|---|---|
| Contacts | Merge by email, newer last_contact wins |
| Templates | Merge by ID, higher use_count wins |
| Rules | Merge by account, imported wins |
| Policies | Merge by ID, imported wins |
| Patterns | Merge by ID, imported wins |
| History | Append (deduplicate by timestamp) |
| Credentials | Imported wins (newer assumed better) |
Force Mode
Replace everything without confirmation:
$ pontius sync import backup.sync --forceEnter decryption password: ********Imported (replaced existing): - 2 accounts - 5 aliases - 38 contacts ...Default Mode
Without flags, Pontius warns about data loss and asks for confirmation:
$ pontius sync import backup.syncEnter decryption password: ********⚠️ Import will OVERWRITE your local data. Local: 45 contacts, 12 templates Import: 38 contacts, 8 templatesOptions: --merge Merge imported data with local (recommended) --force Overwrite without confirmationProceed with overwrite? (y/n): nCancelled. Use --merge to merge instead.Encryption Details
Sync files are secured with:
- AES-256-GCM — Military-grade encryption for the file contents
- Argon2id — Modern key derivation from your password
- Random salt — Each export uses a unique salt
Choose a strong, unique password. If you forget it, the file cannot be recovered.
What's Included
| Data | Included | Notes |
|---|---|---|
| Account configs | Yes | Email, labels, settings |
| Passwords | Yes | Encrypted, restored to keychain on import |
| Aliases | Yes | Including SMTP credentials |
| Knowledge base | Yes | Contacts, templates, rules, patterns |
| Drafts | Yes | Unsent email drafts |
| Invoices | Yes | History and company info |
| Email cache | No | Rebuilt automatically from IMAP |
| License | No | Activate separately on new device |
Typical Workflow
Moving Pontius to a new laptop:
- Old device: Run
pontius sync export - Transfer: Copy the
.encfile to new device (AirDrop, USB, cloud storage) - New device: Install Pontius
- New device: Run
pontius activatewith your license - New device: Run
pontius sync import file.enc - Old device (optional): Run
pontius deactivateif you're at your device limit
Troubleshooting
Wrong Password
If you enter the wrong password:
$ pontius sync import pontius-sync.encEnter decryption password: ********Error: Decryption failed. Check your password and try again.Corrupted File
If the file was damaged during transfer:
$ pontius sync import pontius-sync.encError: File integrity check failed. The export file may be corrupted.Try transferring the file again from the source.
Existing Configuration
If you import into a device with existing Pontius configuration, use--merge to preserve local data:
# Recommended: merge data$ pontius sync import pontius-sync.enc --merge# Alternative: replace everything$ pontius sync import pontius-sync.enc --forceSee Import Modes for details on merge behavior.
Backup Strategy
Consider exporting periodically as a backup:
- After adding new accounts or aliases
- After building up your knowledge base
- Before major system updates
- Monthly as a habit
Store the encrypted file somewhere safe — it's a complete backup of your email setup.