From 1fdcf4406481558df2d60699a97e6024ae57deed Mon Sep 17 00:00:00 2001 From: Norbert Gruszka Date: Mon, 23 Dec 2024 17:17:01 +0100 Subject: [PATCH] feat(): update CA Certificates and fix typos --- backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index d8546ab..196a5b8 100755 --- a/backup.sh +++ b/backup.sh @@ -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 @@ -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