Adjust rsync arguments.

This commit is contained in:
Christoph 2020-09-04 13:56:41 +02:00
parent 2d68b36d60
commit cceb1b69f0

View File

@ -154,6 +154,31 @@ info_file="/tmp/LAST_BACKUP_archiv.info"
> $info_file
## - Give global rsync arguments here. Maybe you wish
## - to exclude some files or diredtories
## -
## - Exclude from transfering
## -
## - **/dev/*random
## - *.log
## - *.log.[0-9]
## - *.log.[0-9],gz
## - *.log.[0-9][0-9].gz
## - **/sessions/*
## - **/*.[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9][0-9][0-9][0-9]*
## -
rsync_progArgs="
--exclude **/dev/*random
--exclude *.log
--exclude *.log.[0-9]
--exclude *.log.[0-9].gz
--exclude *.log.[0-9][0-9].gz
--exclude **/sessions/*
--exclude **/*.[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9][0-9][0-9][0-9]*
--delete-excluded
"
## - force to create level 1 backups. the backups are not cascaded, they
## - all are direct related to the complete one.
## -