From b7ae3ac2c0021ea49b273867bfc7ed1595280c2b Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 24 Dec 2024 11:25:45 +0100 Subject: [PATCH] Just change the order of the directories to be backed up. --- borg2-backup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/borg2-backup.sh b/borg2-backup.sh index 6499fb4..4ab784a 100755 --- a/borg2-backup.sh +++ b/borg2-backup.sh @@ -577,8 +577,8 @@ borg2 \\ --exclude '/root/.local/*' \\ --exclude 'var/tmp/*' \\ ${ARCHIVE_NAME} \\ - ${DB_BACKUP_DIR} \\ - ${BORG_BACKUP_DIRS} + ${BORG_BACKUP_DIRS} \\ + ${DB_BACKUP_DIR} EOF @@ -599,8 +599,8 @@ borg2 \ --exclude '/root/.local/*' \ --exclude 'var/tmp/*' \ ${ARCHIVE_NAME} \ - ${DB_BACKUP_DIR} \ ${BORG_BACKUP_DIRS} \ + ${DB_BACKUP_DIR} \ > ${log_file} 2>&1