additional params

This commit is contained in:
2026-02-23 17:14:17 +03:00
parent 90f87d8f40
commit 5bb50a842d
3 changed files with 79 additions and 27 deletions

View File

@@ -24,8 +24,22 @@ n = 2
# log_level: pick from DEBUG | INFO | WARNING | ERROR | CRITICAL
log_level = "INFO"
# use to pass arguments to the rsync binary running locally
# see rsync help/manpage for details
[rsync_parameters]
# --rsync-path
rsync_path = "/usr/bin/rsync"
# --exclude-from
exclude_from = ".rsync-exclude.txt"
```
- remote_folder: rsync-compatible full path to the target folder in remote. "remote" here means that it's the target of the operation, and could still reside on the local system.
- `remote_folder`: rsync-compatible full path to the target folder in remote. "remote" here means that it's the target of the operation, and could still reside on the local system.
- **do not forget to use the trailing slash!**
- local_folders:
- `local_folders`: each folder to be copied over
- `n`: how many parallel rsync routines to be spawned
- `log_level`: self explanatory
- `rsync_parameters`: exposes local rsync binary's options
- `rsync_path`: specify the rsync to run on remote machine
- `exclude_from`: read exclude patterns from FILE