Skip to content

Commit 65a6758

Browse files
committed
feat: Update backup format name
1 parent 2c78319 commit 65a6758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
BACKUP_FILE_NAME="$(date +%y-%m-%d_%H-%M-%S).gz"
3+
BACKUP_FILE_NAME="$(date +%Y-%m-%d_%H-%M-%S).gz"
44
BACKUP_FILE_PATH="/tmp/$BACKUP_FILE_NAME"
55

66
echo "access_key=$S3_ACCESS_KEY" >> /root/.s3cfg

0 commit comments

Comments
 (0)