aboutsummaryrefslogtreecommitdiff
path: root/docker/auto-backup/daemon.bash
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-25 14:12:26 +0800
committercrupest <crupest@outlook.com>2022-11-25 14:12:26 +0800
commit3a102e979e06482438cb8dd15b41ee0b91f5bb35 (patch)
treed65f872e549f9a4828462909926b361c23e0563e /docker/auto-backup/daemon.bash
parent1c5e142f489b723e4107bb85186b546adf1f025f (diff)
downloadcrupest-3a102e979e06482438cb8dd15b41ee0b91f5bb35.tar.gz
crupest-3a102e979e06482438cb8dd15b41ee0b91f5bb35.tar.bz2
crupest-3a102e979e06482438cb8dd15b41ee0b91f5bb35.zip
Make certbot better.
Diffstat (limited to 'docker/auto-backup/daemon.bash')
-rwxr-xr-xdocker/auto-backup/daemon.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/auto-backup/daemon.bash b/docker/auto-backup/daemon.bash
index 845ad38..9098e94 100755
--- a/docker/auto-backup/daemon.bash
+++ b/docker/auto-backup/daemon.bash
@@ -17,8 +17,8 @@ function backup {
# Output "Begin backup..." in yellow and restore default
echo -e "\e[0;103m\e[K\e[1mBegin backup..." "\e[0m"
- # Get current time and convert it to YYYY-MM-DDTHH:MM:SS
- current_time=$(date +%Y-%m-%dT%H:%M:%S)
+ # Get current time and convert it to YYYY-MM-DDTHH:MM:SSZ
+ current_time=$(date +%Y-%m-%dT%H:%M:%SZ)
echo "Current time: $current_time"
echo "Create tar.xz for data..."