| ... | ... | @@ -25,6 +25,10 @@ We need to list the next vars to use in the process: |
|
|
|
* Backblaze Key ID: `backups_role_b2_app_key_id`
|
|
|
|
* Restic password: `backups_role_restic_repo_password`
|
|
|
|
|
|
|
|
## Create and provision a new server
|
|
|
|
|
|
|
|
Buy a new VPS and execute the [`opencell-provisioning`](https://gitlab.com/coopdevs/opencell-provisioning/) to prepare the server.
|
|
|
|
|
|
|
|
## Download backup from B2
|
|
|
|
To download the bucket we need to install and config the [`b2` command-line tool](https://www.backblaze.com/b2/docs/quick_command_line.html):
|
|
|
|
1. Access to the server where you want to restore:
|
| ... | ... | @@ -42,7 +46,7 @@ $ pip install b2 |
|
|
|
3. Configure `b2`:
|
|
|
|
|
|
|
|
```
|
|
|
|
$ b2 authorize-account [<applicationKeyId>] [<applicationKey>]
|
|
|
|
$ b2 authorize-account [<Backblaze Key ID>] [<Backblaze Key>]
|
|
|
|
```
|
|
|
|
|
|
|
|
4. With the `b2` configured we can download the bucket. You can find the bucket name listing the buckets with `b2 list-buckets`:
|
| ... | ... | |
| ... | ... | |