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!
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.
I agree that <tar cf /dev/nst0 /dir1 /dir2> will work, however there is another application which I have in mind it will not work for.
I'm going to be setting up a script and a CRON job to perform incremental backups at regular intervals--to pull this off, I would like to be able to append a tar file to a tape which already contains data.
Why not? 'cause my initial thought was to do it all myself for the learning experience.
I'm curious about Amanda though--before spending the time downloading & building it, do you have any idea if it requires X-Windows? I couldn't find that information after buzzing through the FAQ at sourceforge, and the system which I would be installing it upon is command-line only.
I'm thinking no need to go to eod since nst0 will not rewind and the tape will be at eod anyway.
I can't prove this since my tape drive is off but the tape will stop and the end of file marker on the first file written to tape.
The status option of mt will tell you how many files were written and the location of the tape drive. When you restore the first file where is the tape location? It should be at the beginning of the second file.
Originally posted by bqh
Amanda does not require X nor does it have GUI.
It uses the native system dump or tar to back up
data, and has its own way of managing the index
Yep, I've noticed.
A short time ago I was ready for a few trial runs of my first stab at an Amanda configuration, but the untimely death of a HDD put that on hold for a while.
Amanda, at least for me , has quite the learning curve to it. I was really hoping to get my hands on a well-commented sample set-up or two... haven't found one yet, but then I haven't looked in a while either.
I'm very new to scripting on Linux, so please bear with me. I need two directories backed up to tape every night (no diff or incr needed). I need this to run via cron every night. My understanding is that the script should look like this:
tar -cvf /dev/st0 /dir1 /dir2
mt -st -f /dev/st0 rewind
Is this all that is necessary? I want to make sure that directories within /dir1 and /dir2 are backed up as well. I also need the tar cmd to perform the verify. Finally, I'd like to set this up to run Monday through Friday at 0200. I simply do not know what to do next.