Adjust rsync arguments.
This commit is contained in:
parent
2d68b36d60
commit
cceb1b69f0
@ -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.
|
||||
## -
|
||||
|
Loading…
Reference in New Issue
Block a user