Ken Schneider
On Fri, 2003-01-17 at 14:37, fsanta wrote:
I'm backing up a directory on our server to a clients hard disk. The directory is mounted on the client via nfs and contains subdirectories. The directory is around 1Gb. Sometimes I get a clean copy but sometimes I have missing files. Is it correct to assume that the backup should have the same file size as the original? Any ideas about the missing files and would ftp be a better bet?
In general, there shouldn't be any missing files but it's better to provide an example of what you actually do.
(cd /home;tar cf - ./*)|(cd /usr/local/home; tar xvf -)
The form above doesn't copy hidden (dot) files in the /home directory. It's OK for /home but in other cases the following form is preferred: # (cd /home; tar cf - .) | (cd /usr/local/home; tar xvf -) -- Alexandr.Malusek@imv.liu.se