incremental backups using cpio...HOW???

Lyndon Nerenberg lyndon at ncc.UUCP
Wed Jan 27 10:14:59 AEST 1988


This is a Q&D hack I've used for quite some time...

#!/bin/sh
cd /usr/src
find . -type f -a -newer /etc/local/lastinc -print | cpio -oacvQ /dev/rmt0
touch /etc/local/lastinc
exit 0

This isn't perfect, but it's very painless. It *does* require the
use of multiple tapes (disks) for each incremental, but then again,
so would tar.

--lyndon



More information about the Comp.unix.questions mailing list