LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 04:01 AM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 472

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 04:05 AM.
 
Old 09-12-2014, 04:22 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,776

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
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, 12:03 PM   #3
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,261

Rep: Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245
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, 12:17 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,051

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
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, 01:06 PM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
KDE's backup application, kbackup, uses tar for its backup files.
jdk
 
Old 09-12-2014, 03:35 PM   #6
vmccord
Member
 
Registered: Jun 2012
Location: Lawrence, KS
Distribution: Mostly CentOS
Posts: 67
Blog Entries: 29

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, 03:55 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,355

Rep: Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989
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, 04: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 04:19 PM.
 
Old 09-12-2014, 04:41 PM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 5,388

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

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
Tar also does incremental and full backups (no need for find).
 
Old 09-13-2014, 12:27 PM   #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


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
Tar fails on system backup - need to backup remote web server cilbuper Linux - General 2 08-26-2014 01: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 10:40 AM
TAR backup dnaqvi Linux - General 41 04-14-2010 07:15 PM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 03:53 AM
Using TAR to backup / morrolan Linux - Newbie 8 01-04-2006 06:03 AM


All times are GMT -5. The time now is 01:13 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration