LinuxQuestions.org
Visit Jeremy's Blog.
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 01-31-2021, 10:51 AM   #1
Pen guin
Member
 
Registered: Oct 2019
Posts: 178

Rep: Reputation: Disabled
How large of a HD do I need to back up my Linux installation?


Here's an image of my current setup which might help you out.

How large of an external do you think I'd need?

I was thinking of using RSYNC or GSYNC with these exclusions: (see the 2:04 mark)

https://www.youtube.com/watch?v=oS5uH0mzMTg

Post away, if you have anymore questions.
 
Old 01-31-2021, 11:54 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
What is your backup strategy. Do you back up only user files and system configuration or you want also back up the whole system? I personally use rsnapshot and I do not do full system backup. This strategy has been working best for me over decades. IMHO considering how low is the risk of whole system being lost due to some drive failure I can afford spending a little time rebuilding it using saved configuration. Yet, this means much smaller and easier to handle backups.
 
1 members found this post helpful.
Old 01-31-2021, 02:16 PM   #3
Pen guin
Member
 
Registered: Oct 2019
Posts: 178

Original Poster
Rep: Reputation: Disabled
I was thinking of daily backup.

I was thinking of doing a backup with these exclusions.

The exclusions not withstanding, I was looking at doing a whole system backup, every day.

I couldn't find any information on rsnapshop on youtube, so there was a delay in my reply...
 
Old 01-31-2021, 02:46 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
rsnapshot
It makes use of hard links, and I love that.
 
Old 02-01-2021, 01:31 AM   #5
lvm_
Senior Member
 
Registered: Jul 2020
Posts: 1,597

Rep: Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545
If you are planning to use rsync or other method without compression it will use the same space as the size of data being backed up although if you are planning to use rsync or other file by file method you should also account for allocation unit size of the target filesystem which in case of large number of small files may waste significant amount of space. If on other other hand you are planing to use dar or other tool which uses compression, stores all data in a single file and generally manages space more efficiently the size is less predictable and it's better to run a mock backup through pv and into /dev/null to measure its actual size.

Last edited by lvm_; 02-01-2021 at 01:33 AM.
 
Old 02-01-2021, 10:55 AM   #6
Pen guin
Member
 
Registered: Oct 2019
Posts: 178

Original Poster
Rep: Reputation: Disabled
I did look at rsnapshot, but the problem I found with it was my level of experience was not commensurate with using a command line only backup system - at this point in my journey into Linux.

If I use compression, do you think a 1 TB drive would be large enough? (I presume you've seen the image of my partition table.)

Thanks for the help...
 
Old 02-01-2021, 03:03 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Pen guin View Post
Here's [URL="http://[url=https://flic.kr/p/2kwwEWc][img]https://live.staticflickr.com/65535/50884950351_db549743b5_o.jpg[/img][/url][url=https://flic.kr/p/2kwwEWc]2021-01-28_08-16[/url] by [url=https://www.flickr.com/photos/37470049@N08/]shutterbug1480[/url], on Flickr"]an image[/URL]
What is this?
 
Old 02-02-2021, 02:43 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Compression only shows gains when the data/files is/are able to be compressed. There are various types of compression for different data. The more you compress, the slower it will go.
Some backup plans have a sort of test to tell you what it might end up with.
 
Old 02-02-2021, 03:27 PM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Yes, for instance there are special compression methods for audio and video, it is unlikely generic compression can add anything to those.
 
  


Reply


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: This week at LWN: Large pages, large blocks, and large problems LXer Syndicated Linux News 0 09-27-2007 11:40 AM
Resolution is too large need help changing it back mswendy Linux - Newbie 3 06-17-2006 10:16 PM
Resolution is too large need help changing it back mswendy Linux - Newbie 3 06-17-2006 03:41 PM

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

All times are GMT -5. The time now is 10:28 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