From 8ea6aab9ef588a8fc917966a280e968ff5413c54 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Tue, 12 Oct 2021 20:03:19 +0800 Subject: [PATCH] duplicacy: add page (#6598) --- pages/common/duplicacy.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/duplicacy.md diff --git a/pages/common/duplicacy.md b/pages/common/duplicacy.md new file mode 100644 index 0000000000..ae91aeb79f --- /dev/null +++ b/pages/common/duplicacy.md @@ -0,0 +1,36 @@ +# duplicacy + +> A lock-free deduplication cloud backup tool. +> More information: . + +- 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/}}` + +- 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}}`