I understand about outputting the contents to file. On my m$ system the
backup software indexes the tape so that when you want to get a file off
of it the software looks at the index for the location on the tape. Fast
forwards to the spot, and then restores the file. With tar it reads
every inch of the tape until it comes to your file. This is anything but
efficient. Any suggestions?

-----Original Message-----
From: Ray Olszewski [mailto:[EMAIL PROTECTED]] 
Sent: Monday, September 30, 2002 3:39 PM
To: Paul Kraus; [EMAIL PROTECTED]
Subject: Re: Tar Backups


At 03:21 PM 9/30/02 -0400, Paul Kraus wrote:
>Is there a way to have an index written? I am making 13gb backups and 
>it takes forever to simply restore because it has to read each and 
>every single file on the tape. This is actually on my sco box but the 
>question is relevant because I plan on moving the file server to a red 
>hat machine.

Do you mean that you want to use tar to make a tape backup, and at the
same 
time write a separate file that contains a list of all of the files on
the 
tape?

If you do mean that ... then just run tar in verbose mode and redirect
the 
output to a file. Something like this (though this example saves to a
.tar 
file rather than tape):

         tar -cvf somename.tar filespec > index.txt

If you mean something more specific by "index", please describe in more 
detail what you need.


--
-------------------------------------------"Never tell me the
odds!"--------
Ray Olszewski                                   -- Han Solo
Palo Alto, California, USA                        [EMAIL PROTECTED]
------------------------------------------------------------------------
-------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to