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

How to backup fscrypt encrypted files with rsync #8

Open
ugjka opened this issue Jan 8, 2022 · 0 comments
Open

How to backup fscrypt encrypted files with rsync #8

ugjka opened this issue Jan 8, 2022 · 0 comments

Comments

@ugjka
Copy link
Owner

ugjka commented Jan 8, 2022

There's no way to back up locked encrypted files. You have to unlock them first.

So if my understanding is correct, this means that I would first

  • have to create a new fscrypt on the destination with fscrypt setup /path/to/dest, and create new protectors
  • unlock both source and destination
  • and only then run rsync
  • lock everything again

Yes, that would work. (Except the command to encrypt a directory is fscrypt encrypt, not fscrypt setup.)

Originally posted by @ebiggers in google/fscrypt#210 (comment)

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

1 participant