Just change the order of the directories to be backed up.
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user