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