Comment 13 for bug 423988

Revision history for this message
edso (ed.so) wrote :

here's another idea i've been playing with in my mind for quite a while now.

why not add additional commands to duplicity like 'copy', 'sync' eg.

 duplicity sync ftp://srv1/path sftp://srv2/path

would only upload _new files_ to the secondary location, effectively realizing an horcrux approach. we have all needed get/put capability in duplicity's backends.

as duplicity's backends are dumb we would of course need a way to identify _completely_ uploaded files. we cannot ask the (all) backends for size or check that, so i'd suggest to have .markerfiles or another checksummed manifest to keep record of that.

this is much more flexible than the suggested above as it can run in parallel (multiple copy, sync operations to diff. backends) and can be even used outside the scope of duplicity for users who just want to copy data from eg. s3 to ftp or such.

what do you think? ..ede