On Nov 15, 2011 9:49 AM, "Grant" <emailgr...@gmail.com> wrote: > > > Sure, but you've noted that rdiff-backup is insecure if the source box is > > violated. What you need, then, is a layer of versioning not subject to that > > vulnerability. > > Does it exist? >
Quick and dirty: TARGDIR=/home/versions/$(date +"%Y%m%d%H%M%S") find $BACKUPDIR -exec ln {} $TARGDIR/{} \; # make hard links; they survive unlinking of the originals Disclaimer: Not tested. Use it at your own risk. Rgds,