summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2024-01-08 23:38:13 +0000
committerMatthew Fennell <matthew@fennell.dev>2024-01-08 23:38:13 +0000
commit6e43e1570aea06b7b2507db52910034a915156e7 (patch)
treeec338ffa96dd34ba00fb347627cce95017859ab8 /README.md
parent8486e86f1e6082a48b983bdc9a0c5c91f87211a4 (diff)
Add borgmatic init instructions
At present, these are not automated by the runbook and need to be manually run as part of setup for each new managed host the playbook is run against.
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index c9fd8e6..f7b428d 100644
--- a/README.md
+++ b/README.md
@@ -62,6 +62,15 @@ You will need to initialise a borg repository on some host or managed provider.
Once you have done this, make a note of the private key you will use to access
the remote server and the address of the repo.
+Once borg is configured you should run
+
+```shell
+sudo borgmatic init --encryption repokey
+```
+
+On the managed host. In the future, this should be done via the playbook
+itself.
+
### Create a prod inventory file
Create an inventory file in `inventory/prod.ini` with the production hosts that