Skip to content
Snippets Groups Projects
Commit 61711682 authored by TheBroTMv2's avatar TheBroTMv2
Browse files

Update restore.sh

parent a9f3d8cf
No related branches found
No related tags found
1 merge request!7Beta
Pipeline #2670 passed
#!/bin/bash
#script zum wiederherstellen eines backups
cd /backups
cd /backup
ls -l
read -p "Gib das auszuwählende backup ein ohne Dateiendung: " var
echo "Alle Daten werden nach bestätigung gelöscht und das ausgewählte Backup wiederhergestellt."
read
rm -r /papermc/*
tar xvzf $var.tar.gz --directory=/papermc
echo
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment