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.
|
 |
01-31-2021, 10:51 AM
|
#1
|
Member
Registered: Oct 2019
Posts: 178
Rep: 
|
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.
|
|
|
01-31-2021, 11:54 AM
|
#2
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
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.
|
01-31-2021, 02:16 PM
|
#3
|
Member
Registered: Oct 2019
Posts: 178
Original Poster
Rep: 
|
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...
|
|
|
01-31-2021, 02:46 PM
|
#4
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
rsnapshot
It makes use of hard links, and I love that.
|
|
|
02-01-2021, 01:31 AM
|
#5
|
Senior Member
Registered: Jul 2020
Posts: 1,597
|
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.
|
|
|
02-01-2021, 10:55 AM
|
#6
|
Member
Registered: Oct 2019
Posts: 178
Original Poster
Rep: 
|
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...
|
|
|
02-01-2021, 03:03 PM
|
#7
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by Pen guin
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?
|
|
|
02-02-2021, 02:43 PM
|
#8
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
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.
|
|
|
02-02-2021, 03:27 PM
|
#9
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Yes, for instance there are special compression methods for audio and video, it is unlikely generic compression can add anything to those.
|
|
|
All times are GMT -5. The time now is 10:28 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
|
|