How-to


Restore command details (7)

SYNOPSIS: duplicacy restore - Restore the repository to a previously saved snapshot USAGE: duplicacy restore [command options] [--] [pattern] ... OPTIONS: -r <revision> the revision number of the sn…

Init command details (2)

SYNOPSIS: duplicacy init - Initialize the storage if necessary and the current directory as the repository USAGE: duplicacy init [command options] <snapshot id> <storage url> OPTIONS: -encrypt, -e …

History command details (4)

SYNOPSIS: duplicacy history - Show the history of a file USAGE: duplicacy history [command options] <file> OPTIONS: -id <snapshot id> find the file in the snapshot with the specified id -r <revision> …

Benchmark command details (3)

The benchmark command is used to test the upload and download speeds for a specific storage and disk access speeds for your repositories. Click here for a list of related forum topics. Quick overview NAME: duplicacy…

Supported storage backends (12)

Duplicacy currently supports local file storage, SFTP, WebDav and many cloud storage providers.

Local diskStorage URL: /path/to/storage (on Linux or Mac OS X) C:\path\to\storage (on Windows)
SFTPStorage …

Set command details (3)

SYNOPSIS: duplicacy set - Change the options for the default or specified storage USAGE: duplicacy set [command options] OPTIONS: -encrypt, e[=true] encrypt the storage with a password -no-backup[…

Duplicacy User Guide (4)

Getting started Duplicacy licenses (free and paid) Download Duplicacy or Build Duplicacy from source Quick Start tutorial (GUI version) Quick Start tutorial (CLI version) Supported storage backends Duplicacy Command…

Global options details (2)

These options apply to all duplicacy commands and must be placed before any command Quick overview -verbose, -v show more detailed information -debug, -d show even more detailed i…

Backup command details (2)

The backup command creates a snapshot of the repository and uploads it to the storage. Click here for a list of related forum topics. Quick overview NAME: duplicacy backup - Save a snapshot of the repository to the …

Pre Command and Post Command Scripts (5)

You can instruct Duplicacy to run a script before or after executing a command. For example, if you create a bash script with the name pre-prune under the .duplicacy/scripts directory, this bash script will be run befor…

Prune command details (2)

The prune command has the task of deleting old/unwanted revisions and unused chunks from a storage. Click here for a list of related forum topics. Quick overview NAME: duplicacy prune - Prune snapshots by revision, …

Chunk size details (2)

Duplicacy adopts a unique pack-and-split method to split files into chunks. First, all files to be backed up are packed together, in an alphabetical order, as if it were building an imaginary tar file. Of course, this …

Password command details (2)

The password command decrypts the storage configuration file (config) using the old password, and re-encrypts the file using a new password. It does not change all the encryption keys used to encrypt and decrypt chunk f…

Duplicacy quick-start (CLI) (2)

Note that these instructions are for the CLI version. To get started with the GUI version, click here. Once you have the Duplicacy executable on your path, you can change to the directory that you want to back up (call…

List command details (2)

SYNOPSIS: duplicacy list - List snapshots USAGE: duplicacy list [command options] OPTIONS: -all, -a list snapshots with any id -id <snapshot id> list snapshots with the specifie…

Diff command details (2)

The diff command compares the same file in two different snapshots if a file is given, otherwise compares the two snapshots. Click here for a list of related forum topics. Quick overview NAME: duplicacy diff - Compa…

Copy command details (2)

SYNOPSIS: duplicacy copy - Copy snapshots between compatible storages USAGE: duplicacy copy [command options] OPTIONS: -id <snapshot id> copy snapshots with the specified id instead of all snapshot …

Check command details (2)

SYNOPSIS: duplicacy check - Check the integrity of snapshots USAGE: duplicacy check [command options] OPTIONS: -all, -a check snapshots with any id -id <snapshot id> check snapshots w…

Cat command details (2)

The cat command prints to stdout a file or the entire snapshot content if no file is specified. Click here for a list of related forum topics. Quick overview NAME: duplicacy cat - Print to stdout the specified file,…

Add command details (2)

The add command connects another storage to the current repository. Like the init command, if the storage has not been initialized before a storage configuration file derived from the command line options will be create…

About the How-to category (1)
Scripts and utilities index (1)
Filters/Include exclude patterns (5)
Back up to multiple storages (15)
Fix missing chunks (4)
Passwords, credentials and environment variables (4)
Backing Up Large Datasets to Both Local and Backblaze B2 Destinations Using Duplicacy CLI on Linux (6)
Lock free deduplication algorithm (1)
Encryption of the storage (1)
Cache usage details (1)