commit 0894fb51329e81786b025dd75fc7b033c30ca1ac Author: Ralf-Peter Wolff Date: Sat Dec 28 19:06:51 2024 +0100 pbsbackup.sh hinzugefĆ¼gt diff --git a/pbsbackup.sh b/pbsbackup.sh new file mode 100644 index 0000000..626b57b --- /dev/null +++ b/pbsbackup.sh @@ -0,0 +1,20 @@ +```bash +#!/bin/bash + +PBS_PASSWORD='ePVNmzbEpfaf65' +PBS_REPOSITORY=root@pam@rwolff.homelinux.net:ebesch2nfs +PBS_FINGERPRINT='3f:0d:1e:1c:d1:1f:80:f1:e9:3c:ad:bd:ca:32:f4:8c:92:7e:6c:01:9f:b3:fb:7c:c8:66:e6:bb:04:33:74:a1' +export PBS_PASSWORD +export PBS_FINGERPRINT +export PBS_REPOSITORY +cd /root +cp docker-compose.yml Caddyfile zitadel.env dashboard.env \ + turnserver.conf management.json backup/ +docker compose stop management +docker compose cp -a management:/var/lib/netbird/ backup/ +docker compose start management +proxmox-backup-client login +proxmox-backup-client backup root.pxar:/root/backup \ + --ns cloud && \ +proxmox-backup-client prune host/debian-2gb-hel1-2 --keep-daily 14 +``` \ No newline at end of file