-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cya mydata - multiple source directories #11
Comments
Yeah I thought about multiple source directories but decided against it. However I'll revisit that choice based on a few reasons. I figured just setup multiple profiles and run them. mydata johndocs |
Since profiles in general tend to group things, settings, jobs, etc... It feels strange that to do one job you would need more than one profile. As a user, you will need to remember that 2 or 3 profiles always have to be executed together to do the entire job. The workaround feels backwards... but that is just me... ;) |
True. I did consider both when originally coding this function. I'll take another look. |
Included in 2.3.4+ |
I checked my syntax 3 times and it seems to be correct according to documentation. I must be doing something wrong, but I don't know what else to check. |
I would need to see what you are including. |
|
Okay well your backup will need to have /mnt/Vuelo/ and /mnt/info/ thus do they exist? CYA will not create those directories in case those are external mounts. So your manual backup locations need to created by you. |
I see... makes sense.... I did not see that explanation in the documentation... is it there ? should it be ? ;) |
The
mydata
command 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
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 text was updated successfully, but these errors were encountered: