mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
448 B
Plaintext
18 lines
448 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# rustic
|
|
|
|
> Create fast, encrypted, deduplicated backups powered by Rust.
|
|
> More information: <https://github.com/rustic-rs/rustic>.
|
|
|
|
- Initialize a new repository:
|
|
|
|
`rustic init --repository {{/srv/rustic-repo}}`
|
|
|
|
- Create a new backup of a file/directory to a repository:
|
|
|
|
`rustic backup --repository {{/srv/rustic-repo}} {{path/to/file_or_directory}}`
|