Backup & Restore¶
Protect your print history with database backups and restore when needed.
Overview¶
Bambuddy's backup system:
- Full database backup - All your data
- Selective restore - Choose what to restore
- User settings included - Preferences preserved
- Archives included - Print history saved
Creating a Backup¶
Manual Backup¶
- Go to Settings > Backup
- Click Create Backup
- Wait for backup to complete
- Download the backup file
Backup Contents¶
| Data | Included |
|---|---|
| Print archives | |
| Printer configs | |
| User settings | |
| Notification configs | |
| Smart plug configs | |
| K-profiles | |
| External links | |
| Projects | |
| Maintenance records | |
| API keys |
What's NOT Included¶
| Data | Reason |
|---|---|
| 3MF files | Too large (download separately) |
| Thumbnails | Regenerated from archives |
| Logs | Not needed for restore |
| Cache | Temporary data |
Backup File¶
Format¶
Backup files are SQLite database exports:
File Size¶
Typical sizes:
- 100 prints: ~5-10 MB
- 1,000 prints: ~50-100 MB
- 10,000 prints: ~500 MB - 1 GB
Size depends on metadata stored per print.
Restoring from Backup¶
Full Restore¶
Restore everything from a backup:
- Go to Settings > Backup
- Click Restore from Backup
- Select your backup file
- Click Full Restore
- Confirm (this overwrites current data)
- Wait for restore to complete
- Restart Bambuddy
Full Restore Overwrites
A full restore replaces all current data. Create a backup first!
Selective Restore¶
Choose specific data to restore:
- Click Restore from Backup
- Select backup file
- Choose Selective Restore
- Check items to restore:
- Archives
- Printers
- Settings
- Notifications
- Projects
- Click Restore Selected
Merge vs Replace¶
| Mode | Behavior |
|---|---|
| Replace | Overwrites existing data |
| Merge | Adds to existing (may duplicate) |
Scheduled Backups¶
Automatic Backups¶
Configure automatic backups:
- Go to Settings > Backup
- Enable Automatic Backups
- Set schedule:
- Daily
- Weekly
- Monthly
- Set retention (how many to keep)
- Optionally set backup location
Backup Retention¶
Automatic cleanup of old backups:
| Setting | Effect |
|---|---|
| Keep 5 | Deletes 6th oldest |
| Keep 10 | Deletes 11th oldest |
| Keep all | No deletion |
Manual Database Access¶
Location¶
The database is stored at:
Direct Backup¶
Copy the database file directly:
Stop Bambuddy First
Stop Bambuddy before copying to ensure consistency.
SQLite Tools¶
Use SQLite tools for advanced operations:
Downloading Archives¶
3MF files aren't in database backups. Download separately:
Individual Download¶
- Open an archive
- Click Download 3MF
Bulk Export¶
- Go to Archives
- Click Export
- Select Include 3MF files
- Download the archive
Recovery Scenarios¶
Lost Database¶
If database is corrupted or deleted:
- Stop Bambuddy
- Remove corrupted
bambuddy.db - Start Bambuddy (creates fresh database)
- Go to Settings > Backup
- Restore from your backup
New Installation¶
Moving to a new server:
- Install Bambuddy on new server
- Copy backup file to new server
- Go to Settings > Backup
- Full restore from backup
Data Migration¶
Moving between versions:
- Create backup on old version
- Upgrade Bambuddy
- If needed, restore from backup
Best Practices¶
Backup Schedule¶
| Frequency | Good For |
|---|---|
| Daily | Active printing |
| Weekly | Regular use |
| Monthly | Light use |
Storage¶
- Keep backups off the Bambuddy server
- Use cloud storage (Dropbox, Google Drive, etc.)
- Keep multiple versions
Testing¶
- Periodically test restoring
- Verify backup integrity
- Document your backup process
Tips¶
Before Major Changes
Always backup before upgrading or making big configuration changes.
Off-Site Storage
Store at least one backup off-site (cloud or another location).
Regular Testing
Test your restore process periodically to ensure backups work.
Version in Filename
Include date and version in backup filenames for easy identification.
3MF Backup
For complete backup, also download your 3MF files separately.