Merge pull request #1969 from kleo/patch-1
Borg backup provide ssh key example format
This commit is contained in:
commit
cddd76b9c9
|
@ -43,7 +43,13 @@ matrix_backup_borg_location_repositories:
|
||||||
- USER@HOST:REPO
|
- USER@HOST:REPO
|
||||||
matrix_backup_borg_storage_encryption_passphrase: "PASSPHRASE"
|
matrix_backup_borg_storage_encryption_passphrase: "PASSPHRASE"
|
||||||
matrix_backup_borg_ssh_key_private: |
|
matrix_backup_borg_ssh_key_private: |
|
||||||
PRIVATE KEY
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||||
|
TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZW
|
||||||
|
xpdCwgc2VkIGRvIGVpdXNtb2QgdGVtcG9yIGluY2lkaWR1bnQgdXQgbGFib3JlIGV0IGRv
|
||||||
|
bG9yZSBtYWduYSBhbGlxdWEuIFV0IGVuaW0gYWQgbWluaW0gdmVuaWFtLCBxdWlzIG5vc3
|
||||||
|
RydWQgZXhlcmNpdGF0aW9uIHVsbGFtY28gbGFib3JpcyBuaXNpIHV0IGFsaXF1aXAgZXgg
|
||||||
|
ZWEgY29tbW9kbyBjb25zZXF1YXQuIA==
|
||||||
|
-----END OPENSSH PRIVATE KEY-----
|
||||||
```
|
```
|
||||||
|
|
||||||
where:
|
where:
|
||||||
|
@ -52,7 +58,7 @@ where:
|
||||||
* HOST - SSH host of a provider/server
|
* HOST - SSH host of a provider/server
|
||||||
* REPO - borg repository name, it will be initialized on backup start, eg: `matrix`
|
* REPO - borg repository name, it will be initialized on backup start, eg: `matrix`
|
||||||
* PASSPHRASE - passphrase used for encrypting backups, you may generate it with `pwgen -s 64 1` or use any password manager
|
* PASSPHRASE - passphrase used for encrypting backups, you may generate it with `pwgen -s 64 1` or use any password manager
|
||||||
* PRIVATE KEY - the content of the **private** part of the SSH key you created before
|
* PRIVATE KEY - the content of the **private** part of the SSH key you created before. The whole key (all of its belonging lines) under `matrix_backup_borg_ssh_key_private` needs to be indented with 2 spaces
|
||||||
|
|
||||||
To backup without encryption, add `matrix_backup_borg_encryption: 'none'` to your vars. This will also enable the `matrix_backup_borg_unknown_unencrypted_repo_access_is_ok` variable.
|
To backup without encryption, add `matrix_backup_borg_encryption: 'none'` to your vars. This will also enable the `matrix_backup_borg_unknown_unencrypted_repo_access_is_ok` variable.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue