-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b690c1c
commit 91e902d
Showing
9 changed files
with
47 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# check | ||
# Check | ||
|
||
```bash | ||
autorestic check [-b, --backend] [-a, --all] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# General | ||
|
||
## `--version` | ||
|
||
Prints the current version | ||
|
||
```bash | ||
autorestic --version | ||
``` | ||
|
||
## `--c, --config` | ||
|
||
Specify the config file to be used. | ||
If omitted `autorestic` will search for for a `.autorestic.yml` in the current directory and your home directory. | ||
|
||
```bash | ||
autorestic -c /path/to/my/config.yml | ||
``` | ||
|
||
## `--ci` | ||
|
||
> Available since version 0.22 | ||
Run the CLI in CI Mode, which means there will be no interactivity. | ||
This can be useful when you want to run cron e.g. as all the output will be saved. | ||
|
||
```bash | ||
autorestic --ci | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
# 🐣 Examples | ||
|
||
## List all the snapshots for all the backends | ||
## Exec | ||
|
||
### List all the snapshots for all the backends | ||
|
||
```bash | ||
autorestic -a exec snapshots | ||
autorestic exec -a -- snapshots | ||
``` | ||
|
||
## Unlock a locked repository | ||
### Unlock a locked repository | ||
|
||
If you accidentally cancelled a running operation this could be useful. | ||
|
||
Only do this if you know what you are doing. | ||
|
||
```bash | ||
autorestic -b my-backend exec unlock | ||
autorestic exec -b my-backend -- unlock | ||
``` | ||
|
||
> :ToCPrevNext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters