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 | 3a102e979e06482438cb8dd15b41ee0b91f5bb35 (patch) | |
tree | d65f872e549f9a4828462909926b361c23e0563e /docker/auto-backup/daemon.bash | |
parent | 1c5e142f489b723e4107bb85186b546adf1f025f (diff) | |
download | crupest-3a102e979e06482438cb8dd15b41ee0b91f5bb35.tar.gz crupest-3a102e979e06482438cb8dd15b41ee0b91f5bb35.tar.bz2 crupest-3a102e979e06482438cb8dd15b41ee0b91f5bb35.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..." |