You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
zephyr707
6 years agoHelpful | Level 6
Best practices for using symlinks (symbolic links)
Hi there,
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 symlink...
- 6 years agoHey there zephyr707,I would strongly recommend sticking with the current configuration you currently have, which would be having the actual files in the Dropbox folder and having your symlinks in the home directory. In this case, it wouldn’t have any affect on the files syncing as the actual files are within the Dropbox folder.Issues occur with syncing when the files are located elsewhere and the symlink is within the Dropbox folder instead. This can cause performance issues and high CPU usage when trying to sync the files. In some cases, the desktop app may even just sync the symlink file itself and not the referenced file. This will mean the actual file won’t be synced to your Dropbox account so you wont be able to access the actual file via the web or other devices your account syncs to.Hope this helps, let me know if you have any other questions - Thanks!
Daphne
6 years agoDropbox Staff
Hey there zephyr707,
I would strongly recommend sticking with the current configuration you currently have, which would be having the actual files in the Dropbox folder and having your symlinks in the home directory. In this case, it wouldn’t have any affect on the files syncing as the actual files are within the Dropbox folder.
Issues occur with syncing when the files are located elsewhere and the symlink is within the Dropbox folder instead. This can cause performance issues and high CPU usage when trying to sync the files. In some cases, the desktop app may even just sync the symlink file itself and not the referenced file. This will mean the actual file won’t be synced to your Dropbox account so you wont be able to access the actual file via the web or other devices your account syncs to.
Hope this helps, let me know if you have any other questions - Thanks!
- AnotherAnon5 years agoNew member | Level 2
Reality check here. a) I use a symlink to include my Desktop accross multiple devices. b) I'm NOT moving my Desktop in the 'Dropbox' folder. Th systems require it to be right where it belongs.
So I guess it's Good Bye after many years of what was a great service.
- Fle15 years agoNew member | Level 2
Agree with AnotherAnon,
I also use symlinks to have all my devices Desktops available on the cloud. I cannot move my Desktops folders to dropbox folder.
What a stupid change by part of Dropbox! If Dropbox do not remediate this soon i will also say goodbye to Dropbox....
- jsparks5 years agoHelpful | Level 5
This sounds like an edge case, as plenty of users used symlinks the old way without the high CPU or missing file issue. Using ~/Dropbox as the working directory does not fit all use cases. Dropbox as a backup solution has been completely broken with the decision not to support symlinks. Dropbox could fix this by having a selective backup option in the mac app (not selective sync, selective backup), but as it stands now, Dropbox is now useless for me and all those that used it as a backup solution. This was a bad move on Dropbox's part and has forced me and others to seek out other providers.
- TLA2c5 years agoNew member | Level 2Agree, am in exact same boat - I have several things I want to keep backed up / off site, where the actual data directory can't be under my user profile / dropbox folder. Symlinks allowed this to work perfectly until blocked.
- jsparks5 years agoHelpful | Level 5
I'm currently doing an initial sync with Backblaze. Will post here how my experience is after I have a chance to kick the tires a bit. No symlink support, but it backs up everything with unlimited storage and allows you to create links to send other people to download. I suspect that will be enough to satisfy what I mostly need it for.
- zephyr7076 years agoHelpful | Level 6
Hi Daphne,
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!
- prophetofcs6 years agoNew member | Level 2
Before Dropbox changed it symbolic linking policy, I would add a symbolic link to my Dropbox folder. Dropbox would automatically upload a file whenever I added or changed it that folder. However, Dropbox has changed this feature. Therefore, I no longer need Dropbox. I can use OneDrive if I have to manually put my files in a separate folder to be synched.
- TLA2c6 years agoNew member | Level 2
Why is this marked solved? It is still broken.
- Daphne6 years agoDropbox StaffHey again zephyr707,It seems like you have everything on point there, this set up will for sure be much more stable. I’m glad I could help to clarify the matter with you. :grin:If you have any other questions about this then please don’t hesitate to reach out to me here - Cheers!
- zephyr7076 years agoHelpful | Level 6
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!
- anonymous5 years ago
I just discovered that Dropbox is replacing my symlinks in my home directory with a copy of the files linked to. For example, I had this symlink, "ln -s /share/xxx/whatever /home/me/whatever" and it looks like Dropbox replaced that symlink with a copy of the entire subdirectory /share/xxx. I use symlinks a lot, and now I have duplicate copies of files everywhere. What I'd like is to have Dropbox leave my symlinks alone! If I can't find a solution for this I'll be looking elsewhere for my backup!!!
- jsparks5 years agoHelpful | Level 5this change on Dropbox’s side happened several months ago and broke this functionality on purpose. There is no workaround if you want to continue using Dropbox, but rather they expect you to put your entire life into the ~/Drobox folder which is impractical. Seems like most of us that used Dropbox for symlink backup have moved over to Backblaze. It’s a real shame, but Dropbox without symlink support is worthless.
- Anon 25 years agoExplorer | Level 3
Another alternative: The open source project SyncThing ( https://syncthing.net )
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!