User guide

Everything you need to back up, sync and restore with Secure Backup.

Install

Download the installer for your system from the download section or the GitHub releases page.

Linux

  • Ubuntu / Debian / Mint: sudo apt install ./Secure-Backup-*-linux-x64.deb
  • Fedora / openSUSE: sudo dnf install ./Secure-Backup-*-linux-x64.rpm
  • Any distribution: make the AppImage executable with chmod +x Secure-Backup-*-linux-x64.AppImage, then double-click it.
  • ARM64 (Raspberry Pi 4/5, ARM laptops): use the files ending in -linux-arm64.

Windows

  • Run Secure-Backup-*-windows-x64-setup.exe. (The .msi is for IT departments and managed installs.) WebView2 is already part of Windows 10 (1803+) and 11.
  • If Windows SmartScreen says it “protected your PC”, click More info → Run anyway. This appears for new apps that aren’t code-signed yet.

macOS (preview)

Open Secure-Backup-*-macos-universal.dmg and drag Secure Backup into Applications. It runs on both Intel and Apple Silicon Macs. macOS builds have not been tested on real hardware yet.

Verify your download (optional)

Each release includes SHA256SUMS.txt. On Linux or macOS run sha256sum -c SHA256SUMS.txt --ignore-missing in the download folder; on Windows compare the output of certutil -hashfile <file> SHA256.

Your first backup

  1. Open the Dashboard and click Browse Folder. The card shows how many files and how much data will be backed up.
  2. Keep AES-256 GCM switched on. Type a passphrase, or click Generate for a strong random one, and confirm it.
  3. Click Create Snapshot. When it finishes you’ll see the snapshot ID and any files that couldn’t be read.
Write your passphrase down or save it in a password manager. Nobody, including the developers, can recover an encrypted backup without it.

Choosing what to back up

Default rules skip .git, node_modules, target, .cache, .venv, __pycache__, .DS_Store and Thumbs.db. Add your own with the preset chips or Custom patterns:

  • A name like dist or *.log matches at any depth.
  • A pattern with a slash like docs/*.tmp matches paths relative to the chosen folder.

The file count and size on the Dashboard update as you change the rules, so you know exactly what will be saved. Secure Backup never backs up its own vault.

Connect Google Drive

  1. Go to Settings and click Authenticate Google Drive. Your browser opens Google’s own sign-in page, so the app never sees your Google password.
  2. Allow access. Secure Backup asks only to manage the files it creates (drive.file) and to see your email address.
  3. Return to the app. New encrypted backups now upload automatically to a Secure Backup Vault folder. You can also click Sync Cloud on any snapshot in Backup History.

Unencrypted snapshots are never uploaded automatically; a manual upload asks for confirmation first.

Restore files

  1. Open Restore and pick a snapshot. Choose This Computer or Google Drive as the source.
  2. Choose a destination folder and what to do with files that already exist:
    • Skip (default): keep your existing files.
    • Keep Both: restore next to them as name (restored 1).ext.
    • Overwrite: replace them (you’ll be asked to confirm).
  3. Enter your passphrase, click Test Passphrase Integrity, then Execute Restore.

Every file is decrypted and checked against its SHA-256 before it’s written. The results list shows each file as restored, skipped or failed, with the reason.

Recover on a new computer

  1. Install Secure Backup and connect the same Google account in Settings.
  2. Click Rebuild Catalog (or Scan Google Drive on the Restore screen).
  3. Select a snapshot, choose Google Drive as the source, enter your passphrase and restore.

Passphrase tips

  • Use the generator (192 bits of randomness) or at least five random words.
  • You can use a different passphrase for each snapshot, but you must remember each one.
  • Test your passphrase on an old snapshot from time to time: a backup is only as good as your ability to unlock it.

Where data is stored

LinuxWindows
Snapshots~/.local/share/secure-backup/backups%LOCALAPPDATA%\secure-backup\backups
Catalog & settings~/.local/share/secure-backup/backup.db%APPDATA%\secure-backup\backup.db
Google DriveSecure Backup Vault folder in your Drive

Troubleshooting

Google says “Access denied” or “This app isn’t verified”

Official builds use a published Google client. If you built the app yourself, create your own client and follow the Google Drive setup guide, or paste it under Settings → Advanced.

“Uploaded X of Y files; N failed”

Some files couldn’t be uploaded (usually a network drop). The snapshot isn’t marked as synced; click Sync Cloud again to continue from where it stopped.

“SHA-256 integrity mismatch” or “Decryption failed”

Either the passphrase is wrong, or that copy of the file is damaged or was modified. Nothing is written for that file. Try restoring the same snapshot from the other source (local or Google Drive).

Build from source

You need Rust (stable), Node.js 20+ and your platform’s webview toolkit:

  • Linux (Debian/Ubuntu): build-essential libssl-dev libxdo-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev
  • Windows: Build Tools for Visual Studio with “Desktop development with C++”, then Rust via rustup (stable-msvc). VS Code is optional.
  • macOS: xcode-select --install
git clone https://github.com/abdulwalidal/secure-backup.git
cd secure-backup
npm ci
npm run tauri dev     # run with hot reload
npm run tauri build   # create installers in src-tauri/target/release/bundle/

To enable Google Drive in your own build, copy src-tauri/.env.example to src-tauri/.env and add your OAuth client. See the README for details.