On Friday 17 January 2003 18:43, Ken Schneider wrote:
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? Thanks, Steve.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
A method I have used to copy files around uses tar as follows:
(cd [source dir];tar cf - ./source)|(cd [dest dir];tar xvf -)
This will copy all of the source files along with ownerships and perms, including special files ie. links and device files.
Hi. Thanks for the reply. I can't work out the syntax. (Yeah, I know. I've not read enough man pages!) What could the actual syntax be for my setup pressing enter at the end of each command? source dir= /home dest dir= /usr/local/home TIA and sorry to be such a pain. Steve.