On Sat, Apr 27, 2013 at 11:38:24PM -0700, Robert Connolly wrote:
> I am a minimalist. I strongly prefer to use what is in base to do what I
> need to do. I know "Duplicity" exists, but how would I reproduce what
> it does with the OpenBSD base? Set up a local CVS server, and send
> differences off site?
> 
> Thanks
> 

You might want to look into the manpages of dump(8) and restore(8). If
you don't want to use rsh as the means for data transport between the
two (Hint: you don't, at least not on a public network), they work fine
in an ssh pipeline like this:

        dump -f - /home/gbe | ssh backuphost "cat > /backups/2013-04-28.dump"
        
Restoring is then a simple

        cd /home/gbe; ssh backuphost "cat /backups/2013-04-28.dump" | restore 
-r -f -

You can also install rsync from ports, it can hardlink already existing
files to the target so you get a complete tree without duplicating
existing data.

-- 
    Gregor Best

Reply via email to