tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Problems with cpio
@ 2000-05-10 15:41 Dermot Paikkos
  0 siblings, 0 replies; only message in thread
From: Dermot Paikkos @ 2000-05-10 15:41 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-10 15:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-10 15:41 Problems with cpio Dermot Paikkos

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