fix bucket naming

This commit is contained in:
Karol Wypchlo 2022-02-22 12:10:57 +01:00
parent b969ae2a2a
commit 40cf0b227f
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ done
# create bucket skynet-backup-[portaldomain] (portal domain is stripped of all non alnum characters)
# ie. siasky.net backup results in skynet-backup-siaskynet basket name
BUCKET_NAME=$(echo skynet-backup-${PORTAL_DOMAIN} | tr -cd '[[:alnum:]]')
BUCKET_NAME=$(echo skynet-backup-${PORTAL_DOMAIN} | tr -cd '[[:alnum:]]-')
# create server prefix
if test -z "${SERVER_DOMAIN}"; then