LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2014, 03:01 AM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Rep: Reputation: 29
is tar still used for backup?


Hey guys,

is tar still used widely for backup, i know its very old, just wondered if its still used..i know tarballs are compressed tar files and that software used to come in this form, or still does (but is less popular these days) ...but as a backup technology is it still widely used in the industry??? or is rsync the standard for backups? they also talking about cpio and dump/restore...do i need to know these well???

Last edited by sigint-ninja; 09-12-2014 at 03:05 AM.
 
Old 09-12-2014, 03:22 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I would forget about cpio unless you need to handle rpms. I don't have dump or restore installed, and can't claim familiarity.

Tar is used for backups, and used not/does not handle windows long filenames flawlessly. tar is ideal for tapes (Largely obsolete) and gathering things into one lump for compression. This is normally done by programs like pkzip in windows, but in linux compressors mostly just compress. Cheap usb hard disks have made compression unnecessary. I stick my backup on a 150G ext partition on a usb drive, with windows backups on other partitions. That said, I do not have massive collections of photos I don't look at or music I don't listen to.
 
Old 09-12-2014, 11:03 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
If your industry is big enough, tape libraries are still used:
http://en.wikipedia.org/wiki/Tape_library
http://www.oracle.com/us/products/se...iew/index.html
 
Old 09-12-2014, 11:17 AM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i work in healthcare... some of the new hipaa regulations/healthcare reform laws are that we retain health records for 7 years. we use cron to tar/gzip stuff to an archive directory after 30 days, then off to tape it goes after another 45.
 
Old 09-12-2014, 12:06 PM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
KDE's backup application, kbackup, uses tar for its backup files.
jdk
 
Old 09-12-2014, 02:35 PM   #6
vmccord
Member
 
Registered: Jun 2012
Location: Topeka, KS
Distribution: Mostly AWS
Posts: 71
Blog Entries: 31

Rep: Reputation: Disabled
I don't worry about compression too much. I think I do gzip out of habit, but all my back up scripts use tar.
 
Old 09-12-2014, 02:55 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
My backup scripts use rsync, because I like to have navigable "working" backups rather than a big binary blob. rsync also allows you to do incremental backups, which makes the process significantly faster.
 
Old 09-12-2014, 03:17 PM   #8
Tux5000
LQ Newbie
 
Registered: Sep 2014
Distribution: pclinuxos-kde-2014.08, android 4.1.2
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by sigint-ninja View Post
Hey guys,

is tar still used widely for backup, i know its very old, just wondered if its still used..
It may be old school but yes, tar is still popular and many still use it to transfer files for uploading and downloading. Also, tar is installed in many distros by default.

Like suicidaleggroll, I prefer rsync for full and incremental backups. Of course, you can do incremental backups with the find command and the -mtime option and pipe it through tar.

Last edited by Tux5000; 09-12-2014 at 03:19 PM.
 
Old 09-12-2014, 03:41 PM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
sigint-ninja, all Slackware packages are made with tar (see makepkg script)
 
Old 09-13-2014, 11:10 AM   #10
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Tar also does incremental and full backups (no need for find).
 
Old 09-13-2014, 11:27 AM   #11
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
I know that absence of backup is widely used in industry, at least in home computing industry. I never really used tar for backups, I rsync files to encrypted external HDDs and then move them in the city.
 
  


Reply



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
Tar fails on system backup - need to backup remote web server cilbuper Linux - General 2 08-26-2014 12:28 AM
tar the last periodic backup that is in another path and move the tar to some dir nelovicov Linux - Newbie 6 01-20-2012 09:40 AM
TAR backup dnaqvi Linux - General 41 04-14-2010 06:15 PM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 02:53 AM
Using TAR to backup / morrolan Linux - Newbie 8 01-04-2006 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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