Linux - NewbieThis 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
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.
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.
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.