diff options
author | crupest <crupest@outlook.com> | 2022-11-25 14:12:26 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-25 14:12:26 +0800 |
commit | 4d0425a017dd1d9436cef21bea2643f9e3da55aa (patch) | |
tree | d65f872e549f9a4828462909926b361c23e0563e /docker/auto-backup/daemon.bash | |
parent | 1915ea9f72e8805d552ea013d187c847d8d500d1 (diff) | |
download | crupest-4d0425a017dd1d9436cef21bea2643f9e3da55aa.tar.gz crupest-4d0425a017dd1d9436cef21bea2643f9e3da55aa.tar.bz2 crupest-4d0425a017dd1d9436cef21bea2643f9e3da55aa.zip |
Make certbot better.
Diffstat (limited to 'docker/auto-backup/daemon.bash')
-rwxr-xr-x | docker/auto-backup/daemon.bash | 4 |
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..." |