improved exclude file. \nIntroduced BACKUP_PATH variable. Everythings is modulargit add backup.env.sample make_backup.sh

This commit is contained in:
Rabjerg
2021-03-17 00:08:42 +01:00
parent 0381289497
commit 118507da41
3 changed files with 13 additions and 2 deletions

View File

@@ -33,9 +33,9 @@ fi
echo "######## Backup started at $(date) ########"
borg create -v --stats \
--exclude-from backup_exclude.txt \
--exclude-from $BACKUP_EXCLUDE \
$REPOSITORY::$BACKUP_NAME \
/home/adam/docker
$BACKUP_PATH
echo "######### Backup Finished $(date) #########"