Appearance
Backup & Restore
What You See
Where: Settings → Data & Sync → Backup & Restore
The Backup & Restore screen lets you create and restore local backup files on your device. It shows:
- An "About Backups" info card: Backups are encrypted, stored safely, and require your master password to restore
- A "Create Backup" section with a full-width button
- A "Restore from Backup" section with a full-width button
- A warning card: "Restoring a backup will replace your current vault. Create a backup of your current vault before restoring if needed."
Create a Local Backup
- Tap "Create Backup"
- A dialog asks you to name the backup — a default name is suggested (e.g.,
davianvault_backup_20260214_103000) - Edit the name if you want, then confirm
- A file save dialog opens — choose where to save the
.zipfile - The app creates an encrypted backup and saves it
- A success message confirms the backup was created
What's included in a backup:
- Your entire encrypted vault (passwords, notes, cards, documents, folders)
- Your encrypted audit log
- Vault metadata
What's NOT included:
- App preferences (theme, auto-lock timeout) — these are device-specific
- Biometric settings — these are device-specific
Restore from a Local Backup
- Tap "Restore from Backup"
- A file picker opens — navigate to and select your
.zipbackup file - The app validates the backup file integrity
- If your current vault has changes that could be lost, a conflict warning appears:
- The dialog shows your local vault timestamp vs. the backup timestamp
- An info note explains that an automatic pre-restore backup is created for safety
- A confirmation dialog shows the backup date and asks you to confirm
- You're prompted to enter the master password that was used when the backup was created
- The vault is restored
If the password is wrong: Your vault is automatically rolled back to its previous state. You'll see: "Invalid password for this backup. Your vault has been restored to its previous state."
After a successful restore: A success message appears. You may need to re-authenticate if the restored vault uses different credentials.
Backup & Sync Screen
There's also a Backup & Sync screen (accessible from Cloud Sync settings) that combines local and cloud backup operations:
Backup Options
- Sync to Local — save encrypted backup to device
- Sync to Cloud — upload encrypted backup to Google Drive
Restore Options
- Restore from Local — pick a backup file from your device
- Restore from Cloud — download and restore from Google Drive
Auto Backup
- Scheduled Auto Backup toggle
- Backup Interval — configurable: 1 hour, 3 hours, 6 hours, 12 hours, or 24 hours
Safety Features
When restoring, you're given three options if a conflict is detected:
- Cancel — don't restore
- Backup First — create a safety backup before restoring
- Replace Local — restore immediately
Vault Backup Viewer
Where: Cloud Sync Settings → Vault Backup
Shows all local backup files created during sync operations and conflict resolution. For each backup:
- Creation date and time
- Size in KB
- Age (e.g., "2 days ago")
- Restore and Delete buttons
Actions
- Restore — restores the selected backup (requires confirmation)
- Delete — permanently removes the backup file
- Delete Old Backups (top bar) — remove backups older than 7, 30, or 90 days
- Clear All (top bar) — permanently remove all backup files
Important Notes
- Backup files are encrypted — they can only be restored with the correct master password
- Always create a backup before restoring another one — the restore operation replaces your current vault
- The
.zipsuffix is automatically added to backup file names - An audit log entry is created for both backup and restore operations
- Consider keeping backups on an external drive or separate location from your device
