Adjust rsync arguments.
This commit is contained in:
parent
cceb1b69f0
commit
e656e49d81
@ -174,15 +174,37 @@ svn_source_base_path="<path-to-svn i.e. /data/svn>"
|
|||||||
## -
|
## -
|
||||||
svn_gzip=false
|
svn_gzip=false
|
||||||
|
|
||||||
## - give global rsync arguments here. maybe you wish
|
|
||||||
|
## - Give rsync arguments here. Maybe you wish
|
||||||
## - to exclude some files or diredtories
|
## - to exclude some files or diredtories
|
||||||
## -
|
## -
|
||||||
#rsync_progArgs="--exclude *.log --exclude *.log.*.gz --delete-excluded "
|
## - Note:
|
||||||
#rsync_progArgs="--exclude **/dev/* --delete-excluded"
|
## - (Global) rsync options are already defined. See file 'conf/rcopy.conf'
|
||||||
rsync_progArgs="--exclude **/dev/*random --exclude **/log/* --exclude **/logs/* --exclude **/sessions/* --delete-excluded"
|
## -
|
||||||
if $remote_disk ; then
|
## - Add rsync options:
|
||||||
rsync_progArgs="--omit-link-times --munge-links $rsync_progArgs"
|
## -
|
||||||
fi
|
#rsync_progArgs="$rsync_progArgs <more rsync options>"
|
||||||
|
|
||||||
|
## - replace #rsync_progArgs
|
||||||
|
## -
|
||||||
|
## - Note:
|
||||||
|
## - If backup device is on remote host, then rsync needs arguments:
|
||||||
|
## -
|
||||||
|
## - "--omit-link-times --munge-links"
|
||||||
|
## -
|
||||||
|
## - This is Added automaticaly done in file rcopy.conf and looks liek:
|
||||||
|
## -
|
||||||
|
## - if $remote_disk ; then
|
||||||
|
## - rsync_progArgs="--omit-link-times --munge-links $rsync_progArgs"
|
||||||
|
## - fi
|
||||||
|
## -
|
||||||
|
## - Take care to add this here if needed and rsync_progArgs are replaced!!
|
||||||
|
## -
|
||||||
|
#rsync_progArgs="<your-rsync-optargs>""
|
||||||
|
#
|
||||||
|
#if $remote_disk ; then
|
||||||
|
# rsync_progArgs="--omit-link-times --munge-links $rsync_progArgs"
|
||||||
|
#fi
|
||||||
|
|
||||||
|
|
||||||
## -----------------------------------------------------
|
## -----------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user