A professional-grade, event-driven backup infrastructure for Windows. This system leverages Duplicati for deduplicated/encrypted local storage and Rclone for high-performance cloud mirroring.
- 3-2-1 Strategy: 3 copies (Source, Local, Cloud), 2 media, 1 offsite.
- Native C++ Manager: A high-performance interactive CLI (
BackupManager.exe) for total control. - Multi-Drive Redundancy: Supports multiple local hard drives for localized safety.
- Event-Driven: Automatically triggers backups during Windows Shutdown via GPO.
- USB Air-Gap: Intelligent background sync when authorized USB drives are connected.
- Data Recovery: Interactive point-in-time restoration suite.
- Connectivity Aware: Real-time monitoring of backup drive status (Online/Offline).
The central dashboard for your backup system. Located in bin/BackupManager.exe.
- [STATUS]: View system health, last backup dates, and drive connectivity.
- [ADD/REMOVE]: Manage your source folders and backup destinations.
- [CLOUD]: Configure your Rclone cloud remotes (OneDrive, Google Drive, etc.).
- [PASS]: Securely set your encryption passphrase for headless backups.
- [USB]: Authorize external drives for automatic background syncing.
- [RUN]: Manually trigger the full backup pipeline.
- [RESTORE]: Interactive wizard to recover files from any backup version.
- [UNINSTALL]: Safely remove the system hooks and tasks.
You don't need to manually install anything. Just follow these simple steps:
- Run the Manager: Open
bin/BackupManager.exe. It will automatically offer to set up the system if it's your first time. - Add Sources: Use Option 2 to select the folders you want to protect.
- Set Destinations: Use Option 3 to add your local hard drive paths.
- Set Cloud: Use Option 5 to link your OneDrive or Google Drive.
- Set Password: Use Option 6 to create your encryption passphrase (this enables automated backups).
- Setup USB: Plug in your external drive, use Option 7 to authorize it, and Option 3 to add it as a destination.
- GO!: Choose Option 8 to start your first backup immediately!
- Duplicati 2 & Rclone installed.
- PowerShell 5.1+ (Windows Default).
- Admin privileges (required once for the automated bootstrap).
- Orchestrator:
src/ShutdownBackup.ps1- The engine that runs during shutdown. - State Management:
C:\ProgramData\BackupSystem\state.json- Authoritative state file. - USB Listener:
src/UsbListener.ps1- Background WMI service for removable media. - Recovery Helper:
src/RestoreBackup.ps1- Backend for versioned restoration.
License: This project is licensed under the MIT License.