![](https://seccdn.libravatar.org/avatar/7891b1b1a5767f4b9ac1cc0723cebdac.jpg?s=120&d=mm&r=g)
21 Sep
2006
21 Sep
'06
12:46
jimmy Pierre wrote:
'find -newer' and cpio.
Thanks Per,
Any particular order? And, do you use a batch file in CRON or both?
Something like this: cd <dir to be backed up> find . -newer lastbackup | \ tee lastbackup | cpio --create -H tar --block-size=128 | \ bzip2 -c >backup.bz2 I run this (and the rest of the script) via cron : MAILTO=zink.anode@enidan.com 0 2 * * 1,2,3,4,5,6 root <script> <directory> 0 2 * * 0 root <script> <directory> full When I run the full backup, I just touch the lastbackup file with timestamp=19700101000000. /Per Jessen, Zürich