[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] tar



Linux Host schrieb:

> tar cvfpz web/* web.tar
> it starts tarring and then at the end comes up with this
> 
> tar: Cannot add file /vol/hd2/sites/site12/web.tar: No such file or
> directory
> tar: Error exit delayed from previous errors

i am not sure, but check two things :

1) what is /vol/ ? did you add a second hdd ? tar does not backup over
different partitions. 
maybe that some files in the directory are linked to another partition ?

you can tell tar to use different partitions with -M, as i remember, but
i`m not sure. see "man tar" and search for "multi volume"

2) where do you call tar from ? if you write the backup file into a
directory that you are backing up, you create problems for obvious
reasons.

3) you can try to use tar like that

tar czf - files > backupfile

with the "-" you tell tar to write to stdout, and then with ">" you
redirect stdout to a given path/filename

-- 

H. P.  Stroebel, Germany

CGI-FAQ for Raq-Newbies :
http://users.iol.it/hpstr/

A problem to some is a 'feature' to others.