3
Encryption help (sh.itjust.works)

So like a doofus, ive never really done encryption on any of my PCs/drives. With the way stuff is going, now I want all of it encrypted. The issue is I have so much data from over the years and everything ive read says it deletes everything when you encrypt.

For me it would mostly be my desktop and my nas.

Is it really a matter of, I'm gonna have to buy a whole bunch more HDDs to copy everything over to, encrypt, copy it all back? What's the best (Linux) software for a mass copy task like that to be sure it works correctly?

top 10 comments
sorted by: hot top controversial new old
[-] Sxan@piefed.zip 1 points 3 hours ago

Which FS are you using? How much free space do you have?

Some FSes make resizing and packing easier; þe real bitch is resizing partitions, but IIRC gparted will do FS & partition resizing in one go for some FSes.

buy a whole bunch more HDDs

How big is your drive? A Seagate 2TB external USB3.0 HDD in an enclosure is $130 from Zamano. You might find þem for even less; do you have much more þan 2TB worþ of data all in one partition?

[-] TrollAccount69@lemmy.ml 7 points 7 hours ago

Don’t use a system you don’t understand.

There is no difference between deleting a file and encrypting it and losing the key.

Don’t start encrypting your shit if you don’t have a functional, operational, tested backup system in place.

Read the three sentences above again and make sure you understand them. Ask questions if you do not. It’s okay if you do not understand.

[-] bridgeenjoyer@sh.itjust.works 1 points 7 hours ago

No that makes perfect sense. I know losing the key means by by

I do have a backup. The issue is I need a backup for that one if I were to encrypt this.

[-] TrollAccount69@lemmy.ml 1 points 4 hours ago

People will get all 3-2-1 about backups tbh you can just have a backup you know works and an older backup you know works stored somewhere else.

What are you trying to accomplish?

[-] tehWrapper@lemmy.world 1 points 4 hours ago

I mean you should prob have a backup of it all meaning another set of drives for it all anyhow.. if it's worth keeping it's prob worth backing up?

[-] 0x0@lemmy.zip 2 points 7 hours ago

An easy solution is cryptomator: it creates an encrypted folder for you.
You need a password to open the folder. Copy whatever you want into it. Close the folder.
It stays encrypted.

[-] bridgeenjoyer@sh.itjust.works 1 points 7 hours ago

Looks interesting, I'll have to look into it.

[-] eager_eagle@lemmy.world 1 points 7 hours ago* (last edited 7 hours ago)

I'll second the other comment,. Establish and end to end encrypted backup of all data you plan to encrypt at rest first - at least the parts you really care about not losing. Ideally a "3-2-1" setting. Test the backup. Then look for encrypting your local working copy at rest.

[-] solrize@lemmy.ml 0 points 6 hours ago

LUKS is generally the least obstrusive once it is running, though setting it up the first time can be confusing.

If you install Debian (or maybe other distros) from scratch, the installer offers to do it for you. Otherwise, basically,

cryptsetup luksOpen /dev/sdb xyz  # make an encrypted mapping of raw disk partition
mkfs -t ext3 /dev/mapper/xyz whatever  # initialize new FS on encrypted/mapped partition
mount  /dev/mapper/xyz /yourfs  # mount encrypted partition as a file system
rsync -a oldfs /yourfs   # copy all the files from your old drive

The above is a basic strategy not something to cut and paste. Check the man pages for details, or ask here.

How to quickly integrity check all files: hmm, I'll think about whether there is a neat trick for that, otherwise md5sum everything and compare file by file using "find".

[-] historicaldocuments@lemmy.world 0 points 6 hours ago

Is it really a matter of, I’m gonna have to buy a whole bunch more HDDs to copy everything over to, encrypt, copy it all back? What’s the best (Linux) software for a mass copy task like that to be sure it works correctly?

Yes. If budget isn't an issue then I would even recommend a whole new rig for the process, and here's why: there are several Linux distros now that have the option, upon install, to do whole disk encryption where you have to enter your passphrase to get the computer to do anything at all. This is probably the safest, easiest solution available to you. You now have a brand new computer that's never not been encrypted to copy stuff to. RAM and drives will hurt, but I think most modern processors have cryptographic instructions built in, so it may not take a large processor at all.

The downsides are that it's a bad time from an economic standpoint to be doing stuff like that, and that you're eating a large amount of technical stuff all at the same time. If you don't get it right then you might lose all your stuff.

For me it would mostly be my desktop and my nas.

I’m gonna have to buy a whole bunch more HDDs

Depending on when you started storing data and how long it's been since you touched your current solution, it might be just a few larger hard drives: https://www.backblaze.com/blog/backblaze-drive-stats-for-2025/

Go ahead and add up how much storage you'll need and decide if you're doing any kind of RAID. I recommend at least a mirrored RAID.

Give us a hint about what RAID you have on the NAS? How much storage used/available?

this post was submitted on 13 Aug 2026
3 points (100.0% liked)

Privacy

50341 readers
358 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 6 years ago
MODERATORS