summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/Makefile2
-rwxr-xr-xbin/mf-backup10
-rw-r--r--etc/mf-backup6
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"