Skip to content
EntexInteractivePublic

About

Easily back up and synchronize massive amounts of files, save system states, and free up drive space.

Resources

Code of conduct

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Parallel Icon Parallel

.NET latest version GitHub Downloads

What is Parallel?

Parallel is an encrypted, deduplicating, snapshot-based backup tool for whole systems: think Windows File History, but for everything you choose, with a full history you can restore from.

Each backup is a snapshot: an immutable record of every file, folder, symlink and their metadata at that moment. Snapshots are cheap. Unchanged files are not read again, identical data is stored once, and only the changed parts of big files are uploaded.

You point it at storage you own: an external drive, a NAS share, an SSH server, or an S3-compatible bucket (AWS, Storj, Wasabi, MinIO...).

What Parallel guarantees

  • Nothing is overwritten in the vault. Every vault file is named after the SHA-256 of its content and written once. Backups only add files, so an interrupted backup cannot damage earlier snapshots.
  • Everything is checked and, with a passphrase, private. Data is encrypted and authenticated before it leaves your machine (AES-256-GCM), so tampering or bit rot is detected, never silently restored. Give a vault a passphrase (key derived with Argon2id) and nobody can read it without that passphrase; leave it off and anyone with the storage can read it, like Windows File History.
  • Restores never destroy data. Each file is written to a temporary name, every chunk is verified, and only then is it moved over the destination. If anything fails, the existing file is left exactly as it was. Nothing is ever deleted by a restore.
  • Deletion is explicit and safe. Only snapshots forget removes snapshots, and only prune deletes data, and only data that no remaining snapshot uses. Prune holds an exclusive lock and aborts without deleting anything if referenced data is missing.
  • Problems are reported, not hidden. A file that can't be read (locked, permission denied) is reported, the backup exits with a non-zero code, and that file's previous version is kept in the snapshot instead of disappearing.
  • Several machines can share one vault and back up at the same time.
  • Fast. Files and folders are read in parallel, unchanged files are skipped without being read, and progress is shown per file.

Warning

If your vault has a passphrase and you lose it, the backups cannot be recovered by anyone. Run parallel vaults recovery <name> and keep that sheet somewhere that is not the machine you are backing up.

Quick start

1. Install

Download the latest release, or build from source:

git clone https://github.com/EntexInteractive/Parallel
cd Parallel
dotnet build

On Debian-based Linux:

curl -sSL https://raw.githubusercontent.com/EntexInteractive/Parallel/main/install.sh | sudo bash

2. Create a vault

parallel vaults add

This asks where to store backups, and creates the vault or connects to an existing one. A new vault asks whether it needs a passphrase:

  • No passphrase: recovery is just "connect the drive and restore". Anyone who has the drive can read it. Fine for a drive that stays at home.
  • Passphrase: nobody can read the backups without it, but you will need it to restore on a new machine. Recommended for cloud and SSH storage, and for drives that travel.

Change your mind later with parallel vaults passwd (add a passphrase) or parallel vaults passwd --none (remove the need for one). The passphrase and storage credentials are saved only on this machine: protected with DPAPI on Windows, and in an owner-only file on Linux and macOS. Use --no-save-passphrase to be asked every time.

3. Choose what to back up

parallel backup add "C:\Users\me"
parallel ignore add "node_modules/"
parallel ignore add "*.tmp"

System folders that should never be backed up (/proc, /sys, /dev, pagefile.sys, hiberfil.sys, System Volume Information, ...) are always excluded. See parallel ignore list.

4. Back up

parallel sync

On Windows, run it as administrator to back up from a Volume Shadow Copy, so open and locked files (Outlook data files, databases, VM disks) are captured consistently.

5. Restore

parallel history "C:\Users\me\Documents\report.docx"
parallel restore --path "C:\Users\me\Documents\report.docx" --version 3
parallel restore --path "C:\Users\me\Documents\report.docx" --at "2026-03-01 18:00"
parallel restore <snapshot-id> --target "D:\Recovered"

Without --target, files go back to their original locations. Existing files are replaced only if their content differs (--overwrite if-changed|never|always). Use --dry-run to preview.

Restore points and rollback

parallel point create "Before Windows update"
parallel rollback --path "C:\Users\me\Documents" --dry-run
parallel rollback <point-id>

A restore point is a snapshot of everything the vault backs up, kept until you delete it. rollback puts folders back exactly as they were: changed files are restored and files that didn't exist then go to the Recycle Bin (or Parallel's trash folder). It first makes a "Before rollback" restore point, so a rollback can be undone. Ignored files are never touched. Rollback is for your files, settings and program data; files Windows itself holds open can't be replaced from inside a running Windows (that's what System Restore and system images are for).

Online-only files

parallel offload "C:\Users\me\Videos\2019"
parallel download "C:\Users\me\Videos\2019"

offload frees up space like Dropbox's online-only files: it backs the files up, checks the stored copy byte for byte, and only then removes them from this computer. Every later backup keeps them, so they never expire. download brings them back; offload --delete-from-vault stops keeping them.

6. Keep the vault tidy and verified

parallel snapshots forget --keep-daily 7 --keep-weekly 5 --keep-monthly 12 --prune
parallel check --read-data --subset 10

If the computer dies

On the new or repaired machine, install Parallel, connect the drive (or have your cloud login ready), and run:

parallel vaults add home --type local --path "E:\ParallelVault"
parallel restore

Because a new install has no backups of its own yet, restore lists the machines in the vault and asks which one to bring back. parallel vaults recovery <name>, run now while everything works, prints these exact commands with your vault's location, logins and passphrase filled in.

Parallel restores files (documents, settings, program data) onto a working system. It does not make a dead drive bootable again; for that, keep an occasional full system image as well (on Windows, the built-in system image backup or a tool like Macrium Reflect).

Versions and cleanup

While the desktop app is open, Parallel saves a new version of your files shortly after they change. Old versions are thinned out like Windows File History: everything from the last day, then one per hour for a week, one per day for a month, one per week for a year, and one per month after that. Restore points (named snapshots you make on purpose) are never removed. Change the policy on the Maintenance page, or per vault in Configuration.json (-1 means keep all of that kind).

Desktop app

Parallel.Gui is the desktop app (Windows, macOS and Linux). It runs the same backup engine as the command line, and shares its vaults and settings with it, so a vault added in one shows up in the other.

  • Browser (the start page): a dual-pane file browser that shows, for every file and folder, whether it is backed up, changed, new, ignored (and by which rule), deleted (still in the vault) or online-only, and how many versions the vault has. Right-click for its versions, restore, restore a copy, roll back a folder, back up now, back up / stop backing up a folder, ignore, free up space and download. The Versions pane lists every version with Restore, Open copy and Save copy. The toolbar creates restore points and filters by backup state.
  • Continuous versions: while the app is open, a new version is saved about 30 seconds after files stop changing (at most 5 minutes after the first change). Turn it off per vault on the Backup page.
  • Backup: choose folders and exclude patterns, then back up with live progress.
  • Snapshots: browse every snapshot, restore files or whole folders (to their original place or another folder), forget snapshots and apply the retention policy.
  • Vaults: add or connect local, S3 and SFTP vaults, change the passphrase and get the recovery sheet.
  • Maintenance: check, prune, remove stale locks and edit the retention policy.
  • Tools: disk usage treemap, junk cleaner and duplicate finder.

Run it from a release download, or from source with dotnet run --project Parallel.Gui.

One vault, several machines

Any number of machines can back up to the same vault (a USB drive you move around, a NAS share, an SSH server, a bucket), including at the same time. Data they have in common is stored once.

  1. On each machine, run parallel vaults add with the same location and passphrase. The first machine creates the vault; the others connect to it.
  2. Each machine has its own backup list (backup add) and ignore list, and its own snapshots (labelled with its host name and OS).
  3. To get a file another machine backed up, name that machine and choose a folder:
    parallel snapshots list                       # shows every machine's snapshots
    parallel restore --host DESKTOP-1 --path "C:\Users\me\Documents" --target ~/from-desktop
    parallel history --host DESKTOP-1 "C:\Users\me\Documents\report.docx"
    
    Write paths the way the machine that made the snapshot writes them: C:\... for Windows, /home/... for Linux, even when you restore on the other system.

This restores copies. Parallel does not keep machines in sync; for that, use a sync tool.

Moving files between Windows and Linux/macOS:

  • File content (byte for byte), folders, and modification times always come across.
  • Permissions, Windows attributes, and owners do not.
  • Owners are only restored for a machine's own snapshots, because user IDs differ between machines. To force it, for example when rebuilding a machine under a new name, use --owner; --no-owner turns it off.
  • Names Windows can't store are encoded (a:b → a%3Ab, what? → what%3F, CON → CON_).
  • On drives that ignore upper/lower case (Windows, macOS, most USB drives), names that differ only by case get a number (Readme → Readme (2)) instead of overwriting each other.
  • Every renamed item is listed at the end of the restore, also with --dry-run.
  • Symbolic links are restored as links, but a link that pointed to C:\... points nowhere on Linux, and the other way round. Creating links on Windows needs Developer Mode or admin rights; otherwise each one is reported as an error.

Commands

Command What it does
vaults add / list / remove / enable / passwd / recovery Manage vaults. passwd adds a passphrase (--none removes the need for one); recovery prints what you need to restore on a new machine.
ignore add / remove / list Exclude patterns: name/ (folders), *.ext (names), absolute paths, ** spans folders.
backup add / remove / list Choose what to back up (per vault, per machine). Plain backup shows the list.
sync Back up now: makes a snapshot (skipped if nothing changed since the last one; --force or --tag saves one anyway). --rehash re-reads every file; --one-file-system; --no-vss; --path backs up only the given paths.
snapshots list / show / forget Inspect snapshots (all machines); forget by ID or by retention policy.
restore Restore a snapshot, part of one, or --version N of a file, in place or to --target. --at picks a point in time, --host another machine's snapshots, --mirror also removes what the snapshot doesn't have.
history <path> Every version of a file or folder: when it changed, was deleted or was freed up, and which restore points hold it.
point create / list / delete Restore points: named snapshots that retention never removes.
rollback [POINT] Put folders back exactly as they were at a restore point or --at a time (with a preview and an automatic undo point).
offload <path> / download <path> Online-only: keep files only in the vault and free the space, or bring them back.
prune Delete data no snapshot uses (--dry-run to preview).
stats (alias disk) How big the vault is: what your snapshots hold, what is actually stored, dedupe and compression savings, and how full the drive is.
check Verify structure; --read-data [--subset N] verifies the stored data itself.
unlock Remove lock files left by crashed processes.
duplicates <folder> Find files with identical content (read-only).

Exit codes: 0 success, 3 finished but some items failed (listed in the output), 2 usage or configuration error, 4 vault data problem, 1 other errors. Logs are in the Parallel config folder (%AppData%\Parallel\logs, ~/.config/parallel/logs, ~/Library/Application Support/Parallel/logs).

How data is stored

<vault>/
  config                plaintext: format version, vault ID, chunker parameters (no secrets)
  keys/<sha256>         the master key: encrypted with a passphrase (one file per passphrase), or stored as is for a vault without one
  blobs/<xx>/<sha256>   packs (~32 MB): encrypted, compressed chunks of files and folder listings
  index/<sha256>        encrypted: which pack holds which chunk
  snapshots/<sha256>    encrypted: time, host, paths, and the root folder listing
  locks/<sha256>        who is using the vault right now

Files are split into content-defined chunks (FastCDC, about 1 MiB) so an edit only changes nearby chunks. Chunk IDs are HMAC-SHA256 of the content under a vault-specific key, so dedupe works without exposing hashes of your files. Packs end with an encrypted header listing their contents, so the index can be rebuilt from the packs alone.

Metadata coverage

Windows Linux macOS
File content, empty folders, modification times yes yes yes
Symbolic links / junctions (stored as links, never followed) yes yes yes
ReadOnly / Hidden / System / Archive attributes yes n/a n/a
Permission bits (incl. executable) n/a yes yes
Owner and group (restored when running as root, for the same machine) no yes yes
Locked/open files with admin (VSS) read live read live
NTFS ACLs, alternate data streams, extended attributes not yet not yet not yet

Special files (FIFOs, sockets, devices) are recorded but never read. Cloud-only placeholders (OneDrive "files on demand") are recorded without downloading them.

Status

The vault format and engine were rewritten in format version 2. Vaults made by earlier versions (0.1.x) can't be read by this version. Keep the old build to restore from them.

The engine is covered by an automated test suite (backup/restore round trips, dedupe, interrupted uploads, damaged data, concurrent backups, prune safety) that runs in CI on Windows, Linux and macOS. The S3 and SFTP backends, and Volume Shadow Copy support, still need testing against real servers before you rely on them.

Contact

For questions and ideas, reach out via GitHub Issues.

About

Easily back up and synchronize massive amounts of files, save system states, and free up drive space.

Resources

Code of conduct

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages