chema => 'str*', # temp, because in pericmd when specifying as arg#0, there is a warning of JSON decoding failure
req => 1,
pos => 0,
},
the command-line:
% rsybak --source /path/to/mydata --target /backup/mydata --extra-rsync-opts-json '["--exclude","Cache","--exclude","cache","--exclude","tmp","--exclude","temp"]'
Or, if you have
<~/rsybak.conf>:
[system]
source = /path/to/mydata
target = /backup/mydata
; also specify as JSON
extra_rsync_opts = ["--exclude","Cache","--exclude","cache","--exclude","tmp","--exclude","temp"