From: Stelian P. <st...@po...> - 2004-03-31 07:31:59
|
On Tue, Mar 30, 2004 at 10:49:29PM +0200, Dick Visser wrote: > Reading the previous message: > > > Subject: [Dump-users] Dumping to another hard disk > > I saw that the -A option is used. As a notorious no-doc-reader, I did not > know about this option but it appears that this is to point to a TOC file. > > Whenever I use restore to get files back from f.i. a DDS4 tape, the file > is always found rather fast using the -i mode, but extracting the actual > file from tape sometimes takes ages. > I guess this is because restore does not have an index file. Yes. > Am I correct in assuming that using -A with both dump and restore will > yield a faster restore of single files/dirs? No. -A creates a TOC, which is not a tape index, just merely a list of inodes which are in the backup. This option can be used when you want to find quickly on which tape you did save a given file, and you have the TOCs somewhere on the disk. The only use of the TOC file is in 'restore -t' mode. However, the index file you're searching for does exist, and it's called QFA (Quick File Access). See the -Q option in dump and restore man pages. Stelian. -- Stelian Pop <st...@po...> |