I use dropbox on linux with symlinks, but am not sure which is the best/preferred way to use them. Is there a best practice for using this type of configuration?
Currently I use symlinks in my home directory that point to the actual folders in my Dropbox folder, but I have heard of doing the inverse: placing symlinks in the dropbox folder pointing out into the home directory. Are there pros and cons to symlinking from the Dropbox folder to the home directory vs. placing a symlink in the home folder linking to inside the Dropbox folder?
What happens during a catastrophic failure triggering a need for data restoration, which method is preferred? Is there a way to dynamically create links for new entries (like .* folders)? Is there an advantage/disadvantage to using soft vs. hard linking?
Any links/posts with regards to the above would be most appreciated. I acknowledge that Dropbox does not fully support symbolic links, but find them so useful I am committed to using them.
Thanks in advance!
Solved! Go to solution.
Thanks for your response, sounds like sticking with the current setup definitely makes sense.
Also, while setting up dropbox on a live usb stick, I just discovered another reason for using symlinks pointing into the Dropbox folder. Doing the inverse would likely cause the data from each separate host to clobber the other host's data. With symlinks pointing the Dropbox folder I know have the same data across hosts that I want to share in common, which is pretty useful.
From what you describe, I guess as a best practice it would be advisable to not drop any symlinks into the Dropbox folder at all as it sounds pretty risky. I hope a better solution to dealing with symlinks is developed, but until then it sounds safe to avoid using them in any way within the Dropbox hierarchy structure.
Thanks for your help!
Awesome, thanks a lot, Daphne, I feel confident now setting it up this way!
p.s. the little thumbs up like button doesn't seem to be working for me, but cheers for the help!
If you need more help you can log a ticket with our Support Team here (expected response time 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!
Solved! : See solution