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.
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.
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
database.
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
database.
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.
Hi all
I need advise on how to do multi-volume archive on HP Superstore dat 24 (scsi tape)
My current backup script contains the following
tar cMpf nst0 server_path
The script is on cron job. The cron job is working fine, the problem is it doesn't prompt for to insert the second tape. Do i need to include the tape length or block size. Please advise.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.