Just change the order of the directories to be backed up.

This commit is contained in:
Christoph 2024-12-24 11:25:45 +01:00
parent 2e66132717
commit b7ae3ac2c0

View File

@ -577,8 +577,8 @@ borg2 \\
--exclude '/root/.local/*' \\ --exclude '/root/.local/*' \\
--exclude 'var/tmp/*' \\ --exclude 'var/tmp/*' \\
${ARCHIVE_NAME} \\ ${ARCHIVE_NAME} \\
${DB_BACKUP_DIR} \\ ${BORG_BACKUP_DIRS} \\
${BORG_BACKUP_DIRS} ${DB_BACKUP_DIR}
EOF EOF
@ -599,8 +599,8 @@ borg2 \
--exclude '/root/.local/*' \ --exclude '/root/.local/*' \
--exclude 'var/tmp/*' \ --exclude 'var/tmp/*' \
${ARCHIVE_NAME} \ ${ARCHIVE_NAME} \
${DB_BACKUP_DIR} \
${BORG_BACKUP_DIRS} \ ${BORG_BACKUP_DIRS} \
${DB_BACKUP_DIR} \
> ${log_file} 2>&1 > ${log_file} 2>&1