pbsbackup.sh hinzugefügt
This commit is contained in:
commit
0894fb5132
20
pbsbackup.sh
Normal file
20
pbsbackup.sh
Normal file
@ -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
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user