Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
guys, I'm using this tar command in order to make a full backu, but for some reason is not completing... "it hangs"
tar -zcvpf /mnt/backup/fullbackup.tar.gz / --exclude=mnt/backup > /home/user/backup.log
I know there are open files by the system, and therfore, I've tried to use --exclude=dev --exclude=proc, and other folder that I think the system might be using, but still same results. Would you mind sharing some of the command you use for making full backups?
Don't backup /proc, /tmp, /sys, /var/tmp, /mnt, /dev or /media. /proc and /sys files are generated on the fly by the kernel. The /dev directory is created when you boot, and changes are made by udev as you run. /tmp is not important and often cleared when you reboot. /mnt contains filesystems you mount, often large external drives. /media is for removable media that is auto mounted.
(directories under /mnt you might want to backup, but on a case by case basis, as in an internal hard drive mounted there)
Be sure to scan through the tar info manual. Do you use file attributes that tar doesn't backup?
It may depend on your version of tar, and which attributes you need backed up. E.G. se-linux or posix capabilities.
Read the section on dumps. The -g option may be useful for producing incremental backups.
I'm betting that the hangup is due to trying to backup /proc, which will generate a core image of your entire system. You may have a have circular link somewhere.
here's a good link to get your feet wet with dump.... I'm still getting to know the command, but I think one of the best functionality is the built in options of making full, incremental, and differential backups