From 5dfcdfce1e0c0792786d1ddb22496ed761f0764c Mon Sep 17 00:00:00 2001 From: "Jason D. McCormick" Date: Fri, 15 Mar 2024 16:12:34 -0400 Subject: remove backblaze --- bin/Makefile | 2 +- bin/mf-backup | 10 ---------- etc/mf-backup | 6 +----- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/bin/Makefile b/bin/Makefile index 1caaafc..c255dfd 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -10,6 +10,6 @@ INSTALLABLES = $(BIN_INSTALLABLES) install: $(INSTALLABLES) $(DESTDIR)$(bindir)/%: % - install -D -m 0644 $< $@ + install -D -m 0755 $< $@ diff --git a/bin/mf-backup b/bin/mf-backup index 46307a8..8d1ec6d 100755 --- a/bin/mf-backup +++ b/bin/mf-backup @@ -88,16 +88,6 @@ do check_for_error $? done -## Replicate -log "" -log "-------------------------------------------------------------" -log " KOPIA S3 TO BACKBLAZE B2 REPLICATION" -log "-------------------------------------------------------------" -log "" -kopia $KOPIA_OPTS repository sync-to b2 --bucket=${KOPIA_PREFIX}${X_HOSTNAME} \ - --key-id=$B2_KEY_ID --key=$B2_KEY --delete >> $LOGFILE 2>&1 - check_for_error $? - ## Mail log on error if [[ $GLOBAL_ERROR -ne 0 ]]; then MSUBJ="${X_HOSTNAME} Backup Job Errors" diff --git a/etc/mf-backup b/etc/mf-backup index ccb3d31..3d5f204 100644 --- a/etc/mf-backup +++ b/etc/mf-backup @@ -20,11 +20,7 @@ BACKUP_MARIADB=n # that /usr/local/bin/occ exists as a wraper for the PHP OCC interface # for Nextcloud. Data assumed to be in /data/nextcloud. # Note that BACKUP_MARIADB has no impact on BACKUP_NEXTCLOUD -BACKUP_NEXTCLOUD=m - -# B2 Key ID and Key for replication to Backblaze B2 -B2_KEY_ID= -B2_KEY= +BACKUP_NEXTCLOUD=n # Kopia Options KOPIA_OPTS="--disable-color" -- cgit v1.2.3