10 Sep
2009
10 Sep
'09
14:24
Chuck Payne wrote:
So far I have come up with this, but I don't think it best. What I like to ask the group is does anyone have a nice back up script that can share with me, or can you expand on my script. One more question can you do exclude with cpio like tar?
Filter the filenames before you pipe them to cpio. Or adjust your find parameters.
find -d . -print | cpio -ova > /backup/$host.$dat.cpio
I would use: find -d . -print0 | cpio --null -ova > /backup/$host.$dat.cpio to cope with all kinds of weird and wonderful filenames. -- Per Jessen, Zürich (22.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org