Hi
I am using a tar command to take my 5 gb data backup on Hp dat drive. I am using tar -zcvf /dev/st0 directories to take backup For restoring tar -zxvf /dev/st0 directories to take retore it It is taking lot of time to restore the files .I think when i am tring to restore any file it serially reads all files prior to files i want to take backup so it is taking time to restore it. Is there any command by which i can tell dat to automatically get forward to location of file which I want to take back & restore it. Rgds girish
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
On Thu, 21 Aug 2003, Girish Hanchate wrote:
It is taking lot of time to restore the files .I think when i am tring to restore any file it serially reads all files prior to files i want to take backup so it
It has to first uncompress the entire archive before it can extract any file. Remember that tar and gzip are two separate programs. The output of one is piped to the other. tar -z internally calls gzip, and continues only when it receives output from it.
Philip
On 21/08/03 23:57 -0700, Girish Hanchate wrote: <snip>
It is taking lot of time to restore the files .I think when i am tring to restore any file it serially reads all files prior to files i want to take backup so it is taking time to restore it.
Tapes are serial access devices, not random access.
Devdas Bhagat