diff --git a/restic-with-SeaweedFS.md b/restic-with-SeaweedFS.md index 8b64bf7..6d4ff3c 100644 --- a/restic-with-SeaweedFS.md +++ b/restic-with-SeaweedFS.md @@ -5,16 +5,19 @@ On mac: `brew install restic` ### Configuration Set these environment variables. The key values do not matter. -``` +```bash export AWS_ACCESS_KEY_ID=any-key-id export AWS_SECRET_ACCESS_KEY=any-access-key ``` ### Execute commands +First, create the bucket: +```bash +s3cmd mb s3://resticbucket ``` -# create the bucket -$ s3cmd mb s3://resticbucket +Then, initialize the restic bucket and backup to it: +```console $ restic -r s3:http://localhost:8333/resticbucket init $ restic -r s3:http://localhost:8333/resticbucket backup /Users/chris/dev/gopath/bin/