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

Implement an rsync receiver, too #9

Open
3 of 4 tasks
stapelberg opened this issue Dec 28, 2021 · 8 comments
Open
3 of 4 tasks

Implement an rsync receiver, too #9

stapelberg opened this issue Dec 28, 2021 · 8 comments
Labels
enhancement New feature or request

Comments

@stapelberg
Copy link
Contributor

stapelberg commented Dec 28, 2021

Currently, we only implement a sender (for serving files), but a receiver would be neat, too (for downloading files).

Left to do:

  • implement receiver protocol
  • write files to disk
  • only transfer deltas
  • cross-system user/group id/name mapping
@stapelberg stapelberg added the enhancement New feature or request label Dec 28, 2021
@stapelberg
Copy link
Contributor Author

d5a5b3d lays the foundation.

Next up is actually writing files to disk.

@stapelberg
Copy link
Contributor Author

d1c307d writes files to disk.

Next up is generating checksums / transferring deltas

stapelberg added a commit that referenced this issue Dec 31, 2021
stapelberg added a commit that referenced this issue Jan 2, 2022
@prologic
Copy link

@stapelberg Is this ready to go yet? This would be great for my backup/restore functionality 😅 I'm happy to help test your work!

@stapelberg
Copy link
Contributor Author

@stapelberg Is this ready to go yet? This would be great for my backup/restore functionality sweat_smile I'm happy to help test your work!

The status in the commit messages and first comment of this issue is accurate. A receiver exists (so feel free to try it out!), but it doesn’t map user/group ids/names across machines.

@prologic
Copy link

@stapelberg Thanks! I actually did, however I decided to go with a completely different solution as I wasn't able to get what I had hoped working with gokr-rsyncd -- I think what's missing is (which is stated on the README) is receiver support in the daemon/server itself 🤔

@stapelberg
Copy link
Contributor Author

Yes, the daemon doesn’t accept uploads yet.

@kolkov
Copy link

kolkov commented Jun 3, 2024

@stapelberg Hi! Can I already use this package to sync local directory on windows with linux server?

@stapelberg
Copy link
Contributor Author

Depends on what kind of synchronization we’re talking about.

If you want to download files from a Linux server, yes.

If you want to do bi-directional synchronization: no. As I wrote in the previous message, the daemon does not accept uploads yet.

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

No branches or pull requests

3 participants