We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
jdinca
2 years agoHelpful | Level 5
Reinstalling Ubuntu, but keeping Dropbox install, files and configuration
Hi,
I'm going to reinstall Ubuntu on my workstation. It's on a separate drive to all data, so I can keep all files. But, I would like to be able to then install Dropbox and point it to /mnt/data/...
- 2 years ago
Turns out, just backing up ~/.dropbox and ~/.dropbox-dist and replacing them before reinstalling will do it. But only, of course, if your files are in the same place and your user account the same. For me, they were.
Здравко
2 years agoLegendary | Level 20
Hi jdinca,
As you probably know already, Linux is NOT first class citizen in the Dropbox "city", unfortunately. There is no supported way to do what you're asking for, but you can workaround using some tricks. 😉
Once the system reinstal and new configuration complete, you can temporary rename the existing Dropbox folder (let say to 'DropboxBkp' for instance). After that you can install Dropbox application in regular way and move the folder next to the just renamed Dropbox folder. At the end, to avoid resync everything stop the application and remove the new, just created and not yet full, Dropbox folder and rename back the existing one. On next application run, it will reindex the existing folder and continue sync as usual.
Hope this helps.
- jdinca2 years agoHelpful | Level 5
Thanks for the answer. I considered that, but assumed also that, separate to the your dropbox files folder, Dropbox itself keeps a record of what was synced and when. So my assumption was that this trick would cause havoc as suddenly a load of unsynced files appeared and everything would stop working. I guess it is worth a try. I was hoping someone had done this.
I'll wait a couple of days and if no-one has an alternative, I'll give it a go and report back.
Thanks again.
- jdinca2 years agoHelpful | Level 5
Turns out, just backing up ~/.dropbox and ~/.dropbox-dist and replacing them before reinstalling will do it. But only, of course, if your files are in the same place and your user account the same. For me, they were.
About Apps and Installations
Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.
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!