reverse date format
This commit is contained in:
parent
b71910e379
commit
94a140223c
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ in {
|
||||||
bucket="$(grep 'bucket=' < "${backupConfigFile}" | sed 's/bucket \?= \?//g')"
|
bucket="$(grep 'bucket=' < "${backupConfigFile}" | sed 's/bucket \?= \?//g')"
|
||||||
prefix="$(grep 'prefix=' < "${backupConfigFile}" | sed 's/prefix \?= \?//g')"
|
prefix="$(grep 'prefix=' < "${backupConfigFile}" | sed 's/prefix \?= \?//g')"
|
||||||
|
|
||||||
s3Dir="s3://$bucket/$prefix""misskey-$(date +'%d-%m-%YT%H.%M.%S')"
|
s3Dir="s3://$bucket/$prefix""misskey-$(date +'%Y-%m-%dT%H.%M.%S')"
|
||||||
echo "Uploading backups to '$s3Dir'"
|
echo "Uploading backups to '$s3Dir'"
|
||||||
|
|
||||||
function upload () {
|
function upload () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue