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

Feature Request: Add option --one-file-system (don't cross filesystem boundaries) in reverse mode #475

Closed
slackner opened this issue May 14, 2020 · 1 comment
Milestone

Comments

@slackner
Copy link
Contributor

Thank you for your continous effort to maintain gocryptfs!

I'm still mostly using gocryptfs in reverse mode for backup purposes, and I'm glad to see that support for backing up files from multiple filesystems has been improved with 518771e and follow-up commits.

In some cases, however, I would actually prefer to just backup a single file system. If I would be using rsync directly, I could use the

 -x, --one-file-system       don't cross filesystem boundaries

switch. With gocryptfs, however, information about the source filesystem is lost and I have to manually exclude file systems based on the path that I do not want to backup. Is there maybe a chance to get a similar --one-file-system switch (for reverse mode) that just does not follow any other devices? It would not matter if the directory itself is preversed or not (I think rsync preserves the directory, it is just empty afterwards).

@rfjakob
Copy link
Owner

rfjakob commented May 14, 2020

Yes, I also thought that this could be useful.

@rfjakob rfjakob added this to the v2.1 milestone May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants