noqqe


blog | sammelsurium | projects | about

Restic

2016-06-16 @ Software, backup, restic

Configuration

export RESTIC_REPOSITORY=/path/to/repo
export RESTIC_PASSWORD=lustigesPW

Initialization

restic -r /path/to/repo init

Backup

Ohne env variablen

restic -r /path/to/repo backup /path/to/backup

Mit

restic backup /path/to/backup

Restore a single file

restic restore 62324d64 --include=path/within/snapshot/foo.csv -t /tmp/