[tahoe-lafs-trac-stream] [tahoe-lafs] #641: tahoe backup should be able to backup symlinks
tahoe-lafs
trac at tahoe-lafs.org
Wed Nov 30 21:15:31 UTC 2011
#641: tahoe backup should be able to backup symlinks
-------------------------+-------------------------------------------------
Reporter: | Owner:
francois | Status: new
Type: defect | Milestone: undecided
Priority: minor | Version: 1.3.0
Component: code- | Keywords: tahoe-backup symlink reliability
frontend-cli | news-done
Resolution: |
Launchpad Bug: |
-------------------------+-------------------------------------------------
Comment (by socrates1024):
I would also like for "tahoe backup" to handle symlinks. Most
specifically, I like to symlink directories I want backed-up into my main
"Dropbox" folder (the target of "tahoe backup" in my crontab).
After a few experiments with Dropbox, it seems that Dropbox 'follows'
symlinks to a limit depth, but it doesn't 'preserve' the symlinks (i.e. it
does not behave like rsync --links). There seem to be a handful of hazards
with following symlinks: you can have infinite recursion if circular
symlinks aren't detected, and even without recursion, symlinks can cause
redundant data to be stored.
I'm attaching a patch just to show my approach so far, to enforce a
symlink depth limit of 3 (for directories only). I'll look into making
tests that show how this approach behaves. For my immediate personal
needs, this is already a solution.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/641#comment:13>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list