[tahoe-dev] How to mirror local directory without using 'backup'?

Brad Rupp bradrupp at gmail.com
Mon Aug 13 18:01:39 UTC 2012


If the upload fails, my script sends me an e-mail.  At that point I can 
run the script manually or wait until cron kicks it off again in a week. 
  Once I got the bugs worked out of the script, it has yet to fail.

Brad

On 8/13/2012 11:33 AM, erpo41 at gmail.com wrote:
> You have an interesting solution here. If tahoe fails to upload one file
> provided by lftp, what do tahoe and lftp do afterwards? Retry? Move on?
> Give up on the mirror operation?
>
> On Aug 13, 2012 10:40 AM, "Brad Rupp" <bradrupp at gmail.com
> <mailto:bradrupp at gmail.com>> wrote:
>
>     I am using the internal Tahoe FTP server and lftp.  lftp has a
>     mirror command that lets me keep the local directory and tahoe store
>     in sync. I'm still working out some kinks, but it seems to do what I
>     want it to do, which is to have a mirror image of my local directory
>     stored in Tahoe.
>
>     Regards,
>
>     Brad
>
>     On 8/11/2012 5:11 AM, "Roland Häder" wrote:
>
>         Hi all,
>
>         is there a way to mirror a whole directory but without using
>         'backup'? I ask this because 'backup' adds directories like
>         'Archive' and 'Latest' which I don't need for my purpose.
>
>         I also tried duplicity but I cannot get it working not to
>         archive all files in a TAR ball. :(
>
>         So is there a way? Or have I to hack a small script to
>         recursively "mirror" all files into my grid?
>
>         Regards,
>             Roland
>         _________________________________________________
>         tahoe-dev mailing list
>         tahoe-dev at tahoe-lafs.org <mailto:tahoe-dev at tahoe-lafs.org>
>         https://tahoe-lafs.org/cgi-__bin/mailman/listinfo/tahoe-dev
>         <https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev>
>
>     _________________________________________________
>     tahoe-dev mailing list
>     tahoe-dev at tahoe-lafs.org <mailto:tahoe-dev at tahoe-lafs.org>
>     https://tahoe-lafs.org/cgi-__bin/mailman/listinfo/tahoe-dev
>     <https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev>
>
>
>
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at tahoe-lafs.org
> https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
>


More information about the tahoe-dev mailing list