Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-09-2021, 11:20 AM
|
#1
|
LQ Guru
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,960
|
Good backup solution with second drive in PC?
Hi.
I have a 2TB SSD (full LUKS automatic partitioning) on my Desktop PC. I also have a 2TB HDD. What would be a good setup regarding backups? Should I clone the SSD to the HDD ever so often? Of just sync my SSD home folder files to the HDD? I'd want the 2nd drive to also be encrypted.
What would you do?
Thanks.
Last edited by linustalman; 12-09-2021 at 01:37 PM.
|
|
|
12-09-2021, 02:05 PM
|
#2
|
Member
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 657
|
Personally, I just just backup any 'data' files and \home . Reinstalling an OS doesn't take that long, if ever needed, with the bonus of a nice clean install. But... data (photos, cad drawings, etc.) is not easily replaced and by saving the /home folders you same all your personal settings and data files. I'd also suggest an external backup drive too. This is necessary if 'both' your internal drives get corrupted for some reason (power supply zapps the drives for example). I actually keep a copy off site as well in the case of theft/fire etc. This is only a yearly backup, but at least not 'all' files will be missing if I had to restore. Bottom line, just backup data and \home folders is my suggestion.
Oh, and I don't use encryption. Nothing on my systems that are military/NSA/CIA class information. Only information that needs encryption are encrypted... Passwords and such. Basic 'selective' encryption so to speak.
|
|
1 members found this post helpful.
|
12-09-2021, 02:39 PM
|
#3
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
So many ways to use a backup. The one you choose is the one you have trusted and tested usually.
To clone it you'd have to boot to some clone OS, you don't want to clone it live usually. I do that with windows a lot. I save to some file set over making a duplicate drive usually.
One can save off just important data. That can be done manually or automatically.
|
|
1 members found this post helpful.
|
12-09-2021, 08:02 PM
|
#4
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,399
|
Quote:
Originally Posted by linustalman
What would be a good setup regarding backups?
|
There is no "good setup" with that. Me, I would rsync /home as needed.
As noted above, having internal disks as your only backup is sub-optimal. As is the fact that encryption doesn't help once the container is unlocked - your data are then exposed to anyone who can access the machine. So there's no point not having both disks unlocked.
Note I am not recommending this setup.
|
|
|
12-10-2021, 08:37 AM
|
#5
|
LQ Guru
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,960
Original Poster
|
Perhaps Timeshift would be a good solution?
|
|
|
12-10-2021, 02:18 PM
|
#6
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,632
|
Because I'm lazy about removing my backup disk, and in fact use it too much I bought a backup/backup disk which remains offline. I should at least go offline to do update the offline disk, but ultimately the worst they could do to me is hack someone else. I don't care.
|
|
|
12-10-2021, 04:28 PM
|
#7
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
Any backup is better than none.
|
|
|
12-10-2021, 05:36 PM
|
#8
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,388
|
I have a disk setup similar to yours. I spread everything equally across both drives for maximum speed. Then I back up both drives to one USB hard drive that I keep in my desk and a second USB drive that I keep in my detached garage. This has me backed up for fire and theft as well as the usual software and hardware failures. When my house burned down 5 years ago I lost no data. Encryption prevents a thief from being able to use your data but encryption presents problems (not insurmountable) when you try to restore to a brand new machine which replaces a burned out shell.
The backups to external drives run faster (after the first backup run) if you sync the files instead of cloning the drives.
Last edited by jailbait; 12-10-2021 at 05:40 PM.
|
|
1 members found this post helpful.
|
12-11-2021, 02:08 AM
|
#9
|
LQ Guru
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,960
Original Poster
|
Quote:
Originally Posted by jefro
Any backup is better than none.
|
Jack Schofield: "Data doesn't really exist unless you have at least two copies of it." – Schofield's Second Law of Computing (2008)
Last edited by linustalman; 12-11-2021 at 02:14 AM.
|
|
|
12-11-2021, 02:17 AM
|
#10
|
LQ Guru
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,960
Original Poster
|
Quote:
Originally Posted by jailbait
I have a disk setup similar to yours. I spread everything equally across both drives for maximum speed. Then I back up both drives to one USB hard drive that I keep in my desk and a second USB drive that I keep in my detached garage. ... .
|
That's a nice setup there!
As things are, I backup to 2 external HDDs on varying dates. I think I'll just use my spare internal drives for testing out other distros. 
|
|
|
All times are GMT -5. The time now is 04:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|