Playbook für die Nextcloud Notfalleinrichtung.

This commit is contained in:
2025-08-18 10:08:39 +02:00
parent 99a9fbc8ae
commit 3a876c13a9
24 changed files with 516 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
sudo apt install python3 python3-dev python3-setuptools python3-wheel python3-pip libssl-dev openssl libacl1-dev libacl1 build-essential libfuse-dev fuse pkg-config ssh
sudo pip3 install borgbackup[fuse]
mkdir /tank/borg/${HOSTNAME}
cd /tank/borg
borg --verbose init --encryption=none $HOSTNAME
borg --verbose --progress create --stats --comment "Initial backup" /tank/borg/$HOSTNAME/::firstbackup /home/$USER