Linux/Restic

From Wiki
< Linux
Revision as of 09:51, 27 August 2020 by Marcluer (talk | contribs)

Create repository

restic init --repo /srv/restic-repo                      # local
restic init --repo sftp:user@host:/srv/restic-repo       # sftp
restic init --repo b2:bucketname:path/to/repo            # backblaze b2

Backblaze

export B2_ACCOUNT_ID=<MY_APPLICATION_KEY_ID>
export B2_ACCOUNT_KEY=<MY_APPLICATION_KEY>

Backup


Restoring