LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 12-09-2021, 11:20 AM   #1
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,960

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Question 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.
 
Old 12-09-2021, 02:05 PM   #2
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 657

Rep: Reputation: 254Reputation: 254Reputation: 254
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.
Old 12-09-2021, 02:39 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
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.
Old 12-09-2021, 08:02 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,399

Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
Quote:
Originally Posted by linustalman View Post
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.
 
Old 12-10-2021, 08:37 AM   #5
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,960

Original Poster
Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Perhaps Timeshift would be a good solution?
 
Old 12-10-2021, 02:18 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,632

Rep: Reputation: 2633Reputation: 2633Reputation: 2633Reputation: 2633Reputation: 2633Reputation: 2633Reputation: 2633Reputation: 2633Reputation: 2633Reputation: 2633Reputation: 2633
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.
 
Old 12-10-2021, 04:28 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Any backup is better than none.
 
Old 12-10-2021, 05:36 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,388

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
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.
Old 12-11-2021, 02:08 AM   #9
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,960

Original Poster
Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Thumbs up

Quote:
Originally Posted by jefro View Post
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.
 
Old 12-11-2021, 02:17 AM   #10
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,960

Original Poster
Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Thumbs up

Quote:
Originally Posted by jailbait View Post
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.
 
  


Reply

Tags
backups, luks, second drive


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Meet Proxmox Backup Server, a Debian-Based Open Source Enterprise Backup Solution LXer Syndicated Linux News 0 11-13-2020 04:28 AM
Mount second drive and move Home to second drive edjenn1998 Linux - Newbie 9 07-08-2019 10:50 AM
Backup tools comparison. Choosing a backup solution for various purposes zomane Linux - Server 4 01-29-2019 12:30 AM
Looking for a good Linux Backup Solution markw10 Linux - Software 3 08-27-2009 03:54 PM
Backup second drive to third drive joshnya Linux - Newbie 5 04-07-2005 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration