Overview and Motivation
A popular standard in data protection is the 3-2-1 backup rule: which means 3 total copies of data, 2 different storage media, and 1 offsite copy.
Of course, these are just principles, but I sure dearly regretted not following them when my previous laptop bricked itself, and I lost several years worth of files.
I wasn’t the most avid follower of the 3-2-1 backup rule, but I DID use some backup managers. However, many of these backup managers featured the same annoyances or disadvantages:
- some were overly aggressive or somewhat unreliable, syncing folders without explicit consent
- OneDrive, in particular, I found difficult to use, as it frequently overwrote my local paths to OneDrive paths without my knowledge (e.g.
C:\Users\Name\Desktopwould becomeC:\Users\Name\OneDrive\Desktopafter an update) - these cloud providers only offer a certain amount of GB per free plan. 5 GBs was definitely not enough to backup all my files.
- if I wanted to use multiple different backups managers (Google Drive, OneDrive, Dropbox), that would mean running 3 different backup daemons, which would only consume more RAM and CPU cycles than necessary
Therefore, I set out to create my own backups manager. I wanted it to be: lightweight, customizeable, and able to incorporate multiple different providers into one unified dashboard.
Features/QoL improvements
- Connect and manage multiple accounts for Google Drive, OneDrive, and Dropbox
- allows the user to combine storage quotas from multiple providers (e.g. connecting two free accounts for Google Drive and one free Dropbox account gives you 15 + 15 + 5 = 35 GB of “free” cloud storage)
- the user can assign specific remote locations for their folders (e.g. Folder 1 is synced only to Google Drive, Folder 2 is synced to both Google Drive and Dropbox)
- Lightweight file change tracking
- utilizes the FileSystemWatcher C# API, an extremely lightweight API that hooks into OS-level kernel notifications to track when changes occur to folders
- the tracker monitors changes made to files and reproduces those changes in the remote cloud version
- any redundant changes are ignored (e.g. if a file is first changed, then renamed, then deleted, only a Deletion event occurs in the cloud, ensuring no unnecessary bandwidth is wasted)
- Customizeability
- one major feature that gives users greater control over their syncs is the IgnoreRules feature, which acts a bit like a
.gitignore - users can add glob rules for matching files, and if the program encounters a file or folder that matches the glob rules, that file or folder will be ignored during syncs
Automatic sync timings (WIP, not reliable)
- another major feature for customizeability is sync frequencies
- users of the program can set automatic syncs for a specific folder to Inactive, Monthly, Weekly, or Daily, with different multipliers and increments available to give them more control over when exactly automatic syncs occur
Admittedly, this feature is still a work in progress, and as of this ship automatic syncs are still unreliable. However, if all the folder’s Sync Timings are set to Inactive in theFolders & filespage, then manual sync triggering and all the other aforementioned features still work perfectly fine.
Technologies
The app is a local hybrid native Windows fullstack, incorporating a WPF shell that hosts a Vite React Typescript frontend, and an independent C# ASP.NET Core backend with a Kestrel API server.
How to Use and Installation
To install, go to https://github.com/James-Lian/StorageStandby/releases, or read the README.
To see how to use, go to https://github.com/James-Lian/StorageStandby/blob/main/HOWTOUSE.md.
- 16 devlogs
- 120h
- 11.93x multiplier
- 1426 Stardust
- Frictionless