improved exclude file. \nIntroduced BACKUP_PATH variable. Everythings is modulargit add backup.env.sample make_backup.sh
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## BACKUP_PATH is a list of paths to backup, seperated by a space.
|
||||
## If there is a spaces in your path (shame on you), escape them first.
|
||||
## Like this:
|
||||
# BACKUP_PATH="/home/use/first\ path\ with\ spaces /home/user/second_path /home/user/third_path"
|
||||
# BACKUP_PATH="/home/user/just_one_path"
|
||||
## In the sample only /home is being backed up.
|
||||
BACKUP_PATH="/home"
|
||||
|
||||
## Backup exclude is a file containing paths that should be backed up, like pseudo filesystems.
|
||||
BACKUP_EXCLUDE="backup_exclude.txt.sample"
|
||||
|
||||
## Setup Path and file for logging
|
||||
LOGPATH="/var/log/borg"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user