Skip to content

Commit

Permalink
feat(): update CA Certificates and fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
norbertgruszka committed Dec 23, 2024
1 parent 8a752bc commit 1fdcf44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if [ "${ETCD_BACKUP_S3}" = "true" ]; then
# prepare & push backup to S3

# update CA trust
# update-ca-trust
update-ca-trust

# configure mcli assuming the bucket already exists
bash +o history
Expand All @@ -55,7 +55,7 @@ if [ "${ETCD_BACKUP_S3}" = "true" ]; then
ETCDCTL_API=3 etcdutl --write-out=table snapshot status "/tmp/etcd-backup/${BACKUP_FOLDER}/snapshot.db"

# move files to S3 and delete temporary files
mcli mv $-r /tmp/etcd-backup/* "${ETCD_BACKUP_S3_NAME }"/"${ETCD_BACKUP_S3_BUCKET}"
mcli mv -r /tmp/etcd-backup/* "${ETCD_BACKUP_S3_NAME}"/"${ETCD_BACKUP_S3_BUCKET}"
rm -rv /tmp/etcd-backup
else
# set proper umask
Expand Down

0 comments on commit 1fdcf44

Please sign in to comment.