aboutsummaryrefslogtreecommitdiff
path: root/share/hydra/import-keys
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-05-16 21:12:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-05-16 21:12:31 -0300
commit514c6d120f333090a8dbea0e5876ac3967ff7f80 (patch)
treebef2c1ca611aa95cde9c5ee60978190149562b58 /share/hydra/import-keys
parent78dc21bfef3f76ccb8c35fc055daa9857ea8a196 (diff)
downloadhydra-514c6d120f333090a8dbea0e5876ac3967ff7f80.tar.gz
hydra-514c6d120f333090a8dbea0e5876ac3967ff7f80.tar.bz2
Borg fixes as pre-generated keyfiles are currently unsupported
Diffstat (limited to 'share/hydra/import-keys')
-rwxr-xr-xshare/hydra/import-keys8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/hydra/import-keys b/share/hydra/import-keys
index 7339a0d..1811930 100755
--- a/share/hydra/import-keys
+++ b/share/hydra/import-keys
@@ -123,6 +123,14 @@ EOF
}
# Import Borg key
+#
+# Borg does not support using pre-generated keys anymore (as of 2024-05-16).
+#
+# This code is therefore deprecated, but will stay here for a while, as maybe
+# in the long term borg starts to support this again.
+#
+# Check also https://github.com/borgbackup/borg/issues/7047
+# https://borgbackup.readthedocs.io/en/latest/faq.html#how-important-is-the-home-config-borg-directory
function hydra_import_keys_borg {
if [ "`facter fqdn`" != "$hostname" ]; then
echo "-----------------------------------------------------"