Hey there
Googling this bring me mostly people who need to recover their encrypted home folder...
But what i want is actually to use the encryption that i'm using anyway, to backup my homefolder in an encrypted way. I want the backup to be encrypted as well!
But i have no clue where to really start this.
I can either use Luks to create an encrypted partition on my 2TB USB HDD and then copy the files to the mounted LUks Container while my home folder is unencrypted (or mounted?).
But could it be easier to simply transfer the encrypted home folder directly? How would i start the transfer when the computer is running and how would i access the data on another computer (i.e. how to save the actual encryption keys which are protected by my user password?)
Or would that be BS and I'd be happier with the LUKS Alternative?
thanks for your suggestions!
brs
Best Practices: how to backup my encrypted Home folder in an encrypted way?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Best Practices: how to backup my encrypted Home folder in an encrypted way?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Best Practices: how to backup my encrypted Home folder in an encrypted way?
I would backup the clear files to the LUKS container.
If you don't want to dedicate the entire 2TB USB HDD then create a LUKS virtual filesystem of appropriate size to hold your home content
If you don't want to dedicate the entire 2TB USB HDD then create a LUKS virtual filesystem of appropriate size to hold your home content
Re: Best Practices: how to backup my encrypted Home folder in an encrypted way?
For an extra backup, you could boot Clonezilla and copy the encrypted partition. A restore would bring the whole partition back with the encryption in place.
For people looking at copying encrypted data in general, an encryption might use something from your computer to make the encryption unique, making it impossible to restore on another computer. You should test opening the encrypted data on another computer. Even a change of software version might alter the encryption settings, creating recovery problems.
For people looking at copying encrypted data in general, an encryption might use something from your computer to make the encryption unique, making it impossible to restore on another computer. You should test opening the encrypted data on another computer. Even a change of software version might alter the encryption settings, creating recovery problems.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Best Practices: how to backup my encrypted Home folder in an encrypted way?
Highly unlikely.Petermint wrote:Even a change of software version might alter the encryption settings, creating recovery problems.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Best Practices: how to backup my encrypted Home folder in an encrypted way?
"Highly unlikely" There are some encryption standards that are no longer trusted. Some software recently dropped the older options. You could accidentally keep old settings when you copy encrypted partitions to new disks. A new disk is a good time to update to the latest level of encryption.
Re: Best Practices: how to backup my encrypted Home folder in an encrypted way?
Thanks for your Answers.
Clonezilla might be an easy way to have a complete backup.
However, i see three disadvantages
- i need to backup always everything, or is there some incremental clonezilla? As the HDDs are encrypted, i guess rather not
- i would need to shutdown my pc, run the backup over night, which would take quite some time
- in case my laptop is stolen i need to get (almost) the same hardware to be able to boot from the backup, right?
Probably the easiest thing would be to mount a LUKS encypted external HDD and rsync the files from the unencrypted home folder. This would be the least overhead. However i would be dependant on LUKS being compatible for some more years. Is there anything likely that this will change?
Clonezilla might be an easy way to have a complete backup.
However, i see three disadvantages
- i need to backup always everything, or is there some incremental clonezilla? As the HDDs are encrypted, i guess rather not
- i would need to shutdown my pc, run the backup over night, which would take quite some time
- in case my laptop is stolen i need to get (almost) the same hardware to be able to boot from the backup, right?
Probably the easiest thing would be to mount a LUKS encypted external HDD and rsync the files from the unencrypted home folder. This would be the least overhead. However i would be dependant on LUKS being compatible for some more years. Is there anything likely that this will change?
Re: Best Practices: how to backup my encrypted Home folder in an encrypted way?
I've been using LUKS encrypted drives for years with no problems.sebbo wrote:However i would be dependant on LUKS being compatible for some more years. Is there anything likely that this will change?
Just stay current with kernel and package upgrades and you'll be fine.
Re: Best Practices: how to backup my encrypted Home folder in an encrypted way?
I agree. LUKS is the Linux disk encryption standard at the block level and should be preferred over any alternatives.WharfRat wrote: Just stay current with kernel and package upgrades and you'll be fine.