Linux/Restic: Difference between revisions
< Linux
No edit summary |
(→Backup) |
||
Line 14: | Line 14: | ||
== Backup == | == Backup == | ||
<blockquote><pre> | <blockquote><pre> | ||
restic backup --verbose --repo /srv/restic-repo ~/work | |||
</pre></blockquote> | </pre></blockquote> | ||
Revision as of 09:52, 27 August 2020
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
restic backup --verbose --repo /srv/restic-repo ~/work