Added scripts for the Server.

This commit is contained in:
paoloar77
2022-08-01 15:49:27 +02:00
parent 241e4255d4
commit d902783336
30 changed files with 474 additions and 0 deletions

8
scripts/restore_backup_all.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
read -p "*** RIPRISTINO BACKUP ! -------- SEI SICURO DI CANCELLARE TUTTO ??? (Y/N) ? " risposta
if [[ $risposta == "Y" || $risposta == "y" ]]; then
cd /
sudo tar -xzvf /mnt/backup/freeplanet-Sunday.tgz
fi