diff --git a/doc/ccollect.text b/doc/ccollect.text index f164d1f..055d77d 100644 --- a/doc/ccollect.text +++ b/doc/ccollect.text @@ -129,6 +129,7 @@ Additionally a source may have the following files: - `verbose` whether to be verbose (passes -v to rsync) - `exclude` exclude list for rsync. One exclude specification on each line. + - `rsync_options' extra options to pass to rsync Example: -------------------------------------------------------------------------------- @@ -214,6 +215,20 @@ Example: 20 -------------------------------------------------------------------------------- +Detailled description of "rsync_options" +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +When you create the file "rsync_options" below your source configuration, +all the parameters found in this file will be passed to rsync. This +way you may specify a rsync-passwordfile for automatic backup over +the rsync-protocoll. + +Example: +-------------------------------------------------------------------------------- + [23:42] hydrogenium:ccollect-0.2% cat conf/sources/test_rsync/rsync_options + --password-file=/home/user/backup/protected_password_file +-------------------------------------------------------------------------------- + Examples -------- diff --git a/release.sh b/release.sh index a914fc4..c409d02 100755 --- a/release.sh +++ b/release.sh @@ -5,10 +5,9 @@ DHOST=nico@creme.schottelius.org DDIR=www/org/schottelius/linux/ccollect/ DESTINATION="$DHOST:$DDIR" -tar cvfj "$TARNAME" +tar cvfj "$TARNAME" \ --exclude=.git \ - --exclude="conf/sources/*/destination/*" \ - "$NAME" + --exclude="conf/sources/*/destination/*" "$NAME" scp "${TARNAME}" "$DESTINATION"