Tree


README.mdcommits | blame
config.shcommits | blame
restic-backup.sh*commits | blame

README.md

# backup

Back up files to a remote location using [`restic`](https://restic.net/).

## Usage

```sh
restic-backup.sh /path/to/config.sh
```

## Installation

Put `restic-backup.sh` somewhere in `$PATH` and `config.sh` somewhere. Don't
forget to make `config.sh` user-readable only as it contains sensitive
information.

## Modifying the repository

Source `config.sh` in an interactive shell to be able to easily inspect the
repository without giving the repository location or password manually every
time a command is run.

For example:

```sh
source /path/to/config.sh
restic snapshots
```