Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
First off I don't know anything about shell scripting, so with that here is what I have, I made a very simple script to do an automatic backup every night of one of my servers to another server through nfs, I Have 2 directories that I am backing up right now (I am going to be adding more) The problem I am having is the script runs compleatly through and does the backup and the last thing it says is "tar: Error exit delayed from previous errors"
This script is backing up some files that may be in use (its about 60 websites) I will put the script below and see what you think, I think it is working right but that error worries me a bit.
rm -f /backup/backup.old.tar.gz
mv /backup/backup.tar.gz /backup.old.tar.gz
tar czvf /backup/backup.tar.gz /porky/sites
tar rzvf /backup/backup.tar.gz /porky/conf
And then when I want to run it I just type /etc/porky.conf which is the file above. So is this script right? or did I miss something to get that tar error I put above?
I wondered if that would be the way to do it, so I could put as many directories after that as I want? Right now I am backing up the sites and the web config directory, but I want to start backing up the user's directory and a few other odds and ends.