tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dermot Paikkos <dermot () sciencephoto ! co ! uk>
To: tru64-unix-managers
Subject: Problems with cpio
Date: Wed, 10 May 2000 15:41:46 +0000	[thread overview]
Message-ID: <96079346819529.tru64-unix-managers.marc@archive.invalid> (raw)

Hi Mangers.
I have a backup script which reads as follows. 

cd /usr/desk
find ./ -depth -print | cpio -pdum /usr9/backup/desk

This script is run by cron and we do a backup to a separate disk as 
well as to a tape each night. I was horrified to discover the other day 
that only 5-10% of files are updated. When I compare the 2 
directories the modification dates are not the same. 
Quesiton is; why doesn't cpio -pdum not copy all the files 
unconditionally?
If I rm -r the /usr9/backup/desk it copies all the files as you'd 
expect. There seems to be nothing in the man pages which might 
help. Although there are lots of small files I don't think any would 
exceed the 128 bytes pathname restriction.

Any ideas?
Dp.





~~
Dermot Paikkos * dermot@sciencephoto.co.uk
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668

                 reply	other threads:[~2000-05-10 15:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox