home · contact · privacy
Add borgbackup to each server.
[config] / buster / setup_scripts / setup_server.sh
index 6d92c7c979266829d7d606c1711c446055cf6e95..4eeaec495f8b9776fdb912fc76f5a971e2180446 100755 (executable)
@@ -16,3 +16,10 @@ config_tree_prefix="${HOME}/config/buster"
 setup_scripts_dir="${config_tree_prefix}/setup_scripts"
 cd "${setup_scripts_dir}"
 ./setup.sh "${hostname}" "${fqdn}" server
+
+# If we have not yet set the shell for user plom, ensure it here. This
+# is mostly for convenience.
+usermod -s /bin/bash plom
+
+# We want to be able to use ALL our servers as borg backup destinations.
+apt -y install borgbackup