This commit is contained in:
cupcakearmy 2021-05-01 22:54:57 +02:00
commit a8c611e8ce
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
5 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,7 @@
autorestic exec [-b, --backend] [-a, --all] <command> -- [native options]
```
This is avery handy command which enables you to run any native restic command on desired backends. Generally will want to include the verbose flag `-v, --verbose` to see the output. An example would be listing all the snapshots of all your backends:
This is a very handy command which enables you to run any native restic command on desired backends. Generally you will want to include the verbose flag `-v, --verbose` to see the output. An example would be listing all the snapshots of all your backends:
```bash
autorestic exec -av -- snapshots

View File

@ -6,7 +6,7 @@ autorestic restore [-l, --location] [--from backend] [--to <out dir>] [-f, --for
This will restore all the locations to the selected target. If for one location there are more than one backends specified autorestic will take the first one.
The `--to` path das to be empty as no data will be overwritten by default. If you are sure you can pass the `-f, --force` flag and the data will be overwritten in the destination. However note that this will overwrite all the data existent in the backup, not only the 1 file that is missing e.g.
The `--to` path has to be empty as no data will be overwritten by default. If you are sure you can pass the `-f, --force` flag and the data will be overwritten in the destination. However note that this will overwrite all the data existent in the backup, not only the 1 file that is missing e.g.
## Example

View File

@ -1,6 +1,6 @@
# Uninstall
Installs both restic and autorestic from `/usr/local/bin`.
Uninstalls both restic and autorestic from `/usr/local/bin`.
```bash
autorestic uninstall

View File

@ -11,5 +11,6 @@ This amazing people helped the project!
- @FuzzyMistborn - Typos
- @ChanceM - Typos
- @TheForcer - Typos
- @themorlan - Typos
> :ToCPrevNext

View File

@ -8,7 +8,7 @@ autorestic exec -av -- snapshots
## Unlock a locked repository
This can come in handy if a backup process crashed or if it was accidentally cancelled. Then the repository would still be locked without an actual process using it. Only do this if you know what you are sure no other process is actually reading/writing to the repository of course.
This can come in handy if a backup process crashed or if it was accidentally cancelled. Then the repository would still be locked without an actual process using it. Only do this if you know what you are doing and are sure no other process is actually reading/writing to the repository of course.
```bash
autorestic exec -b my-backend -- unlock