rsync backup of /home/.ecryptfs causes errors

Daniel Convissor danielc at analysisandsolutions.com
Wed Dec 9 06:39:19 UTC 2009


Hi Folks:

I asked the following question at launchpad, but haven't received an 
answer.  Perhaps the folks here can help, please.

I am trying to use rsync to backup the /home/.ecryptfs in Ubuntu 
9.10/Karmic, but doing so produces error messages for users who are 
currently logged in. Considering this issue, how is one supposed to 
cleanly backup .ecryptfs?

Here is the command I ran:

rsync -aH --delete /home/.ecryptfs /bk/rsync-home

And here is the output:

rsync: read errors mapping 
"/home/.ecryptfs/ent/.Private/ECRYPTFS_FNEK_ENCRYPTED.FWaWKXqVAx32y
...snipped for brevity on the mailing list... JjCVaJA8D.E-": 
No data available (61)

rsync: read errors mapping 
"/home/.ecryptfs/ent/.Private/ECRYPTFS_FNEK_ENCRYPTED.FWaWKXqVAx32y
...snipped for brevity on the mailing list... JjCVaJA8D.E-": 
No data available (61)

ERROR: .ecryptfs/ent/.Private/ECRYPTFS_FNEK_ENCRYPTED.FWaWKXqVAx32y
...snipped for brevity on the mailing list... JjCVaJA8D.E- 
failed verification -- update discarded.

rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1057)

Thanks,

--Dan

PS:  Full text is on launchpad at 
https://answers.launchpad.net/ubuntu/+source/ecryptfs-utils/+question/92115 
I'll update the launchpad page if a good answer comes out of this.

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409




More information about the ubuntu-users mailing list