1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 11:06:00 +02:00

duplicacy: add page (#6598)

This commit is contained in:
Ein Verne 2021-10-12 20:03:19 +08:00 committed by GitHub
parent fb5e4b8305
commit 8ea6aab9ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

36
pages/common/duplicacy.md Normal file
View file

@ -0,0 +1,36 @@
# 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 {{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}}`