CLIΒΆ

Bashtic is simple to invoke:

bashtic [options] [<pipeline>[<@backend>]] -- [pipeline args] ...

Specifying a pipeline is optional. A pipeline called default is assumed if one is not provided. Bashtic also comes with several built-in pipelines.

You can optionally specify a backend with the @backend syntax otherwise bashtic will run the pipeline against all backends.

The possible options are:

  • -n or --dryrun: Dryrun mode - print restic commands rather than invoke.

  • -s or --snapshot: For restore operations: specify the snapshot ID to restore (or latest).

  • -t or --to: For restore operations: specify the dir to restore to.

You can pass arguments to your pipeline by specifying them after the separator --, e.g.

bashtic mypipeline -- arg1 arg2