Trouble with 'tar', tape archiver.

Bill Heiser bill at unixland.uucp
Sun Jan 20 03:47:41 AEST 1991


In article <1991Jan19.040951.2883 at NCoast.ORG> ramsey at NCoast.ORG (Cedric Ramsey) writes:
>Hello. I am running ESIX a unix sys V compatible os. I've been
>trying to backup a directory, /mnt/code, using tar. I want to
>do the backups to floppy disk. I used the following command:
>$tar cevfk /dev/rdsk/f0q15d 1200 /mnt/code

Hi,

This doesn't answer your question as to why tar isn't prompting you for
the next diskette (the first is probably out of space, causing the error
you got).  I'd suggest you modify your command, though, as follows:
Instead of using /mnt/code, 'cd' to that directory first, then specify
the filespec to tar by using "." (relative pathnames vs absolute pathname).
That way, when you try to restore the files, you can restore them to
any subdirectory, rather than having to restore them to the exact
path from which they originated.

Bill
-- 
home:	...!{uunet,bloom-beacon,esegue}!world!unixland!bill
	bill at unixland.uucp    Public Access Unix - Esix SYSVR3
508-655-3848(12/24)  508-651-8723(12/24/96-HST)  508-651-8733(12/24/96-PEP-V32)
other:	heiser at world.std.com



More information about the Comp.unix.sysv386 mailing list