Add host scripts

This commit is contained in:
Sem
2026-06-11 22:52:08 +02:00
parent 15bb71d784
commit 8e3918e713
3 changed files with 47 additions and 0 deletions

12
host/start_backup.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
value=$(<backups_amount)
newvalue=$((value+1))
if [[ $newvalue -lt 1 ]]
then
newvalue=1
fi
echo "Amount of running backups: $newvalue"
echo $newvalue > backups_amount
qm start 103
qm list | grep 103 | awk '{print $3}'