Skip to content
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

Suggestion: multiple SOURCEs #63

Open
kversl opened this issue Feb 1, 2021 · 2 comments
Open

Suggestion: multiple SOURCEs #63

kversl opened this issue Feb 1, 2021 · 2 comments

Comments

@kversl
Copy link

kversl commented Feb 1, 2021

I'm very glad I found your project! - I like it very much.

please, enable multiple sources like rsync does:
rsync SRC... [DEST]

reasons:
I have multiple SOURCE dirs which I want to backup at the same time into the same TARGET. Currently, I have to issue one commandline per SOURCE

  • Multiple required commands glued together into one line are ugly, but this seems to be the only way to start a multi-source timemachine backup from cron or other system event.
  • a multi-source multi-liner produces an ugly result, because only the latest SOURCE remains in target Current directory, while all other SOURCE dirs of my backub job are cluttered each into another timestamped/past directory in the target.
@cytopia
Copy link
Owner

cytopia commented Feb 2, 2021

I'd say this would require some time to implement. Especially for remote sources:

rsync -Pav /junk user@host1:/backup user@host2:/backup user@host3:/backup  /dest

Currently you can only specify one port and one identity file:

 -p, --port
 -i, --identity

What if you want to give each source host a different port or identity file.

I will have a look at this one and try to at least get a poc ready, but again, it will be some time to think it all through.

@flybd5
Copy link

flybd5 commented Jul 14, 2021

Could always just create a shell script and have it take care of the multiple sources one at a time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants