diff --git a/hosts/backup_script.sh.sample b/hosts/backup_script.sh.sample index c1dba0a..cce1a6d 100644 --- a/hosts/backup_script.sh.sample +++ b/hosts/backup_script.sh.sample @@ -174,15 +174,37 @@ svn_source_base_path="" ## - svn_gzip=false -## - give global rsync arguments here. maybe you wish + +## - Give rsync arguments here. Maybe you wish ## - to exclude some files or diredtories ## - -#rsync_progArgs="--exclude *.log --exclude *.log.*.gz --delete-excluded " -#rsync_progArgs="--exclude **/dev/* --delete-excluded" -rsync_progArgs="--exclude **/dev/*random --exclude **/log/* --exclude **/logs/* --exclude **/sessions/* --delete-excluded" -if $remote_disk ; then - rsync_progArgs="--omit-link-times --munge-links $rsync_progArgs" -fi +## - Note: +## - (Global) rsync options are already defined. See file 'conf/rcopy.conf' +## - +## - Add rsync options: +## - +#rsync_progArgs="$rsync_progArgs " + +## - 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=""" +# +#if $remote_disk ; then +# rsync_progArgs="--omit-link-times --munge-links $rsync_progArgs" +#fi ## -----------------------------------------------------