diff options
Diffstat (limited to 'serverconf.sh')
-rw-r--r-- | serverconf.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/serverconf.sh b/serverconf.sh index 8625bf3..a73a65d 100644 --- a/serverconf.sh +++ b/serverconf.sh @@ -16,9 +16,17 @@ WORLD_NAME="lfja" BACKUP_NAME="${WORLD_NAME}_backup" LOGFILE="logs/latest.log" PIDFILE="server-screen.pid" -USE_BUP="NO" +# if not bup or borg, uses tar by default +#BACKUP_BACKEND="tar" +#BACKUP_BACKEND="bup" +BACKUP_BACKEND="borg" #Constants CUR_YEAR=`date +"%Y"` BACKUP_DIRS=(".bak/$CUR_YEAR" "user@backupserver:/path/to/backup/$CUR_YEAR") + +# borg repository could be password protected +# to avoid having to manually type password, borg can run a command that should echo a password +#BACKUP_PASSCOMMAND="echo superstrongpassword" +#BACKUP_PASSCOMMAND="pass passwordname" |