HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

duplicacy — A lock-free deduplication cloud backup tool. More information: <https://github.com/gilbertchen/dupli

Submitted by: @import:tldr-pages··
0
Viewed 0 times
backupcommandcloudclideduplicationfreeduplicacylock

Problem

How to use the duplicacy command: A lock-free deduplication cloud backup tool. More information: <https://github.com/gilbertchen/duplicacy/wiki>.

Solution

duplicacy — A lock-free deduplication cloud backup tool. More information: <https://github.com/gilbertchen/duplicacy/wiki>.

Use current directory as the repository, initialize a SFTP storage and encrypt the storage with a password:
duplicacy init {{[-e|-encrypt]}} {{snapshot_id}} {{sftp://user@192.168.2.100/path/to/storage}}/


Save a snapshot of the repository to the default storage:
duplicacy backup


List snapshots of current repository:
duplicacy list


Restore the repository to a previously saved snapshot:
duplicacy restore -r {{revision}}


Check the integrity of snapshots:
duplicacy check


Add another storage to be used for the existing repository:
duplicacy add {{storage_name}} {{snapshot_id}} {{storage_url}}


Prune a specific revision of snapshot:
duplicacy prune -r {{revision}}


Prune revisions, keeping one revision every n days for all revisions older than m days:
duplicacy prune -keep {{n:m}}

Code Snippets

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

duplicacy init {{[-e|-encrypt]}} {{snapshot_id}} {{sftp://user@192.168.2.100/path/to/storage}}/

Save a snapshot of the repository to the default storage

duplicacy backup

List snapshots of current repository

duplicacy list

Restore the repository to a previously saved snapshot

duplicacy restore -r {{revision}}

Check the integrity of snapshots

duplicacy check

Context

tldr-pages: common/duplicacy

Revisions (0)

No revisions yet.