LinuxCommandLibrary

duplicacy

A lock-free deduplication cloud backup tool.

TLDR

Use current directory as the repository, initialize a SFTP storage and encrypt the storage with a password

$ duplicacy init -e [snapshot_id] [sftp://user@192.168.2.100/path/to/storage/]
copy


Save a snapshot of the repository to the default storage
$ duplicacy backup
copy


List snapshots of current repository
$ duplicacy list
copy


Restore the repository to a previously saved snapshot
$ duplicacy restore -r [revision]
copy


Check the integrity of snapshots
$ duplicacy check
copy


Add another storage to be used for the existing repository
$ duplicacy add [storage_name] [snapshot_id] [storage_url]
copy


Prune a specific revision of snapshot
$ duplicacy prune -r [revision]
copy


Prune revisions, keeping one revision every n days for all revisions older than m days
$ duplicacy prune -keep [n:m]
copy

Copied to clipboard