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.
Hello guys! How are you? I would like to know if someone can get me, if possible, any link to a good and complete system backup manual, that explains how to use the 'tar' command and some backup hints and strategies. I usually backup my system giving the command:
tar -zcvf backup.tar.gz /
And so I move this file to another partition where I've made a very minimal Linux installation. If anything happens, I just boot from my floppy disk this partition, acess my full Linux partition and give the tar -zxvf command. But what I can see is that although it works, I waste so much HD space when I do that, even after deleting the backup file from my full linux partition, I don't know why. I usually see in the examples about tar -xvf people just backuping their home directories. So i would like to know if anyone knows any url that gives a really good guide about what is the best way to backup the system.
I don't have an URL handy, but I'm sure google can find you some.
As for a strategy, it's simple. Anything that you change outside of the bare install should be archived. That way, should the unthinkable happen, you just do a fresh install, tar -zxvf, and you're back up and running (and save a ton of disk space).
You really should put your backup onto CD or tape or something though so you can get it out of the machine. What happens if the machine catches fire, or gets hit by lightning or something else? Then both your drives are dead and you have nothing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.