# Path backup (restic)

## Entry

```bash
# On the server, next to this script:
cp config.example.env .restic_env
chmod 600 .restic_env
# edit .restic_env and BACKUP_PATHS inside restic_backup.sh
sudo ./restic_backup.sh
```

- `restic_backup.sh` — env-decoupled path backup (reads `.restic_env`).
- `legacy/restic_backup.inline-config.sh` — deprecated variant with credentials in-script; prefer `restic_backup.sh`.

Do not run `config.example.env`.
