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

Update backup.sh

parent 83b8be02
No related branches found
No related tags found
1 merge request!1Master
...@@ -10,8 +10,8 @@ dateformat=$(date +%F_%H)UTC$ext ...@@ -10,8 +10,8 @@ dateformat=$(date +%F_%H)UTC$ext
else else
mkdir -p $backupdir mkdir -p $backupdir
fi fi
tar -czvf $backupdir$dateformat --exclude="plugins/dynmap" --exclude="backup" * tar -czvf $backupdir$dateformat --exclude="plugins/dynmap" --exclude="*.gz" --exclude="spigo*.jar" --exclude="paper*.jar" *
chmod +r $backupdir$dateformat chmod +rw $backupdir$dateformat
echo "Backup complete." echo "Backup complete."
exit 0 exit 0
\ No newline at end of file
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