You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 27, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: resources/perform-backup.sh
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ do
49
49
then
50
50
echo -e "Database backup successfully uploaded for $CURRENT_DATABASE at $(date +'%d-%m-%Y %H:%M:%S')."
51
51
else
52
-
echo -e "Database backup failed to upload for $CURRENT_DATABASE at $(date +'%d-%m-%Y %H:%M:%S'). Error: $awsoutput"| tee -a /tmp/kubernetes-s3-mysql-backup.log
52
+
echo -e "Database backup failed to upload for $CURRENT_DATABASE at $(date +'%d-%m-%Y %H:%M:%S'). Error: $awsoutput"| tee -a /tmp/kubernetes-cloud-mysql-backup.log
53
53
has_failed=true
54
54
fi
55
55
@@ -64,14 +64,14 @@ do
64
64
then
65
65
echo -e "Database backup successfully uploaded for $CURRENT_DATABASE at $(date +'%d-%m-%Y %H:%M:%S')."
66
66
else
67
-
echo -e "Database backup failed to upload for $CURRENT_DATABASE at $(date +'%d-%m-%Y %H:%M:%S'). Error: $gcpoutput"| tee -a /tmp/kubernetes-s3-mysql-backup.log
67
+
echo -e "Database backup failed to upload for $CURRENT_DATABASE at $(date +'%d-%m-%Y %H:%M:%S'). Error: $gcpoutput"| tee -a /tmp/kubernetes-cloud-mysql-backup.log
68
68
has_failed=true
69
69
fi
70
70
71
71
fi
72
72
73
73
else
74
-
echo -e "Database backup FAILED for $CURRENT_DATABASE at $(date +'%d-%m-%Y %H:%M:%S'). Error: $sqloutput"| tee -a /tmp/kubernetes-s3-mysql-backup.log
74
+
echo -e "Database backup FAILED for $CURRENT_DATABASE at $(date +'%d-%m-%Y %H:%M:%S'). Error: $sqloutput"| tee -a /tmp/kubernetes-cloud-mysql-backup.log
75
75
has_failed=true
76
76
fi
77
77
@@ -90,7 +90,7 @@ then
90
90
if [ "$SLACK_ENABLED"="true" ]
91
91
then
92
92
# Put the contents of the database backup logs into a variable
0 commit comments