Backup & Maintenance
How do I back up my database?
How do I back up my database?
BitBonsai uses PostgreSQL. Backup methods:1. PostgreSQL Dump (Recommended)2. Volume Backup (Docker)3. Automated Backups (Cron)What Gets Backed Up:
- Libraries and scan history
- Job queue and encoding history
- Settings and node configuration
- User preferences
- Media files (backup separately via rsync/Duplicati)
- Temp files (
*.bbtmp) - safe to delete - Logs (ephemeral, rotate after 30 days)
Can I run BitBonsai on Windows?
Can I run BitBonsai on Windows?
Yes, but WSL2 is required for optimal performance.Option 1: WSL2 + Docker (Recommended)Option 2: Native Windows (Not Recommended)
- NestJS backend runs on Windows
- FFmpeg works but slower (no native POSIX)
- NFS shares not supported (use SMB)
- Path handling issues (backslashes vs. forward slashes)
- Native Linux performance
- Better FFmpeg efficiency
- NFS support for multi-node
- Easier troubleshooting (Docker Compose)
- Mount media via WSL2:
\\wsl$\Ubuntu\mnt\media - Database in WSL2 volume (better I/O)
- Frontend accessible via
localhost:4210
- GPU passthrough (NVENC) requires WSL2 + CUDA drivers
- Network performance slightly lower than bare metal
- File watchers may lag on large libraries (10K+ files)