Linux/Restic: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „ Category:Linux/Services Category:Linux“)
 
No edit summary
Line 1: Line 1:
== Create repository ==
<blockquote><pre>
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
</pre></blockquote>


== Backblaze ==
<blockquote><pre>
export B2_ACCOUNT_ID=<MY_APPLICATION_KEY_ID>
export B2_ACCOUNT_KEY=<MY_APPLICATION_KEY>
</pre></blockquote>
== Backup ==
<blockquote><pre>
</pre></blockquote>
== Restoring ==
<blockquote><pre>
</pre></blockquote>





Revision as of 09:51, 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


Restoring