From 8c22069c89eeedc527df835ba2b516829a9d9346 Mon Sep 17 00:00:00 2001 From: Vinanrra Date: Sun, 30 Jun 2024 11:34:27 +0200 Subject: [PATCH] fix: Correct timestamp for backups --- scripts/server_backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/server_backup.sh b/scripts/server_backup.sh index 9c6b2cf..f2f7c8e 100644 --- a/scripts/server_backup.sh +++ b/scripts/server_backup.sh @@ -14,7 +14,7 @@ crontab -r # Backup the specified folder echo "Backing up folder: $BACKUP_FOLDER" -TIMESTAMP=$(date +"%Y%m%d_%H%M%S") +TIMESTAMP=$(date +"%Y-%m-%d-%H%M%S") BACKUP_FILE="$BACKUP_DESTINATION/sdtdserver-$TIMESTAMP.tar.gz" tar -czvf $BACKUP_FILE $BACKUP_FOLDER