Skip to content

Commit bd9d376

Browse files
committed
Fix date month in backup script
1 parent fb5dae6 commit bd9d376

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Stuff/backup_digest_log.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
DAYMONTH=`date +"%Y%M%d_%H%M%S"`
2+
DAYMONTH=`date +"%Y%m%d_%H%M%S"`
33
/bin/tar -czf /root/digestbot/BackUpDigestLog/backup_digest_log_$DAYMONTH.tar.gz -C /root/digestbot/DigestBot/ DigestBotStackLog.json
44

55
# Backup rotation, default 100 files

0 commit comments

Comments
 (0)