diff --git a/scripts/backup-aws-s3.sh b/scripts/backup-aws-s3.sh old mode 100644 new mode 100755 index 64af8ab1..41a269d0 --- a/scripts/backup-aws-s3.sh +++ b/scripts/backup-aws-s3.sh @@ -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