LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   is tar still used for backup? (https://www.linuxquestions.org/questions/linux-newbie-8/is-tar-still-used-for-backup-4175518323/)

sigint-ninja 09-12-2014 03:01 AM

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???

business_kid 09-12-2014 03:22 AM

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.

DavidMcCann 09-12-2014 11:03 AM

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

schneidz 09-12-2014 11:17 AM

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.

jdkaye 09-12-2014 12:06 PM

KDE's backup application, kbackup, uses tar for its backup files.
jdk

vmccord 09-12-2014 02:35 PM

I don't worry about compression too much. I think I do gzip out of habit, but all my back up scripts use tar.

suicidaleggroll 09-12-2014 02:55 PM

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.

Tux5000 09-12-2014 03:17 PM

Quote:

Originally Posted by sigint-ninja (Post 5236674)
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.

keefaz 09-12-2014 03:41 PM

sigint-ninja, all Slackware packages are made with tar (see makepkg script)

jpollard 09-13-2014 11:10 AM

Tar also does incremental and full backups (no need for find).

Mr. Alex 09-13-2014 11:27 AM

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.


All times are GMT -5. The time now is 05:15 AM.