You are not logged in.

#1 2023-11-02 11:41:34

paozaf
Member
Registered: 2012-11-29
Posts: 78

Backup in case of encrypted home folder

Hi all,
I encrypted my home folder by using ecryptfs.
So far so good.

Yesterday I tried to backup the entire home folder into an external HD by using the command:

rsync -arvuL --exclude-from='file_with_path_to_exclude.txt' --delete --progress /home/userfolder /run/media/external_HD

The problem is that it looks like it double copies the data (it takes more space than the home folder itself), probably because it also copies the .Private folder.
I tried to put the .Private folder into the path to exclude, but it looks like that file is completely ignored.

Any suggestions?

Thanks a lot,
Paolo

Offline

#2 2023-11-02 13:49:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,073

Re: Backup in case of encrypted home folder

but it looks like that file is completely ignored.

"--debug=FILTER"

Is the destination clean? Otherwise you might need --delete-excluded

Offline

#3 2023-11-02 16:06:37

paozaf
Member
Registered: 2012-11-29
Posts: 78

Re: Backup in case of encrypted home folder

Thanks for the response @seth

Destination totally clean.
This night I'll try by adding the debug option.

I think it is a "link issue", since it follows and copies the content of the .Private folder.
So the exclusion file is ignored but I got the field copied because of the "second pointer"

Offline

Board footer

Powered by FluxBB