The mydata command and profiles are a great addition to cya.
It would be even more flexible if you could define multiple sources for the same profile.
For example:
MYDATA_johnfiles="/home/john/Downloads/ /home/john/Documents/ /mnt/wd-password/john/"
This syntax would be easy to understand since rsync works the same way. All paths (except last one) would be copied to "destination" (last one).
Needless to say that I would keep it with full paths (like in the example), so source paths do not have to share parent folder.
We do have configuration files in multiple directories in our PBX that could benefit from this enhancement.
That would be very flexible and powerful.
The
mydatacommand and profiles are a great addition tocya.It would be even more flexible if you could define multiple sources for the same profile.
For example:
This syntax would be easy to understand since
rsyncworks the same way. All paths (except last one) would be copied to "destination" (last one).Needless to say that I would keep it with full paths (like in the example), so source paths do not have to share parent folder.
We do have configuration files in multiple directories in our PBX that could benefit from this enhancement.
That would be very flexible and powerful.