[Edit] To answer my question, yes, Dropbox does indeed store its application information in your user's /home folder by default. As long as you don't wipe your /home folder, you should be good to go once you reinstall the Dropbox app after reformatting/reinstalling your distro (Tested with a few Fedora-based distros, YMMV if you use Debian/Arch). I didn't have to re-login; the Dropbox app just worked.

Is it possible to reinstall Linux (or distro hop) without losing my Dropbox install? Could I move the Dropbox install to my home folder so it survives the OS install?

all 20 comments

sorted by: hot top controversial new old
[–] 8 points 1 year ago (2 children)

i thought Dropbox was some sort of cloud storage thing. couldn't you just mount it on whatever distros you wanted?

  • source
  • hideshow 2 child comments
  • [–] [S] 1 point 1 year ago* (1 child)

    It is; I want to reinstall my OS without losing my Dropbox install

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 year ago*

    It's possible if you configure your /home/ to use a separate partition. But you would have to do that in advance. Even in that case you'd have to reinstall it but the nice thing about it is you won't have to reconfigure anything. It will be able to get all your previous settings from your home dir.

    You could backup your home dir before reinstalling then copy it over after for the same effect.

  • source
  • parent
  • [–] 4 points 1 year ago (2 children)

    Do you mean

    1. To persist the programs installed across multiple OS installs, or
    2. To persist the Dropbox login/folders across multiple OS installs?
  • source
  • hideshow 2 child comments
  • [–] [S] 1 point 1 year ago (1 child)

    Option 2, with more emphasis on the login component. My files are safe, but I don’t wanna bother my buddy to 2FA me every time I need to reinstall Linux for whatever reason.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 year ago
    1. Having a separate partition for /home might be sufficient since dropbox keeps the login details in ~/.config
    2. Use a tool like rclone and run sync manually. Can backup the API key post the in-browser login. If you spend extra effort, you can create a systemd file to automate this as well
  • source
  • parent
  • [–] 7 points 1 year ago (9 children)

    Of allllll the things you’re worried of losing…. It’s a Dropbox install?

  • source
  • hideshow 9 child comments
  • [–] [S] 13 points 1 year ago (8 children)

    Yes, lol. Long story short,I don’t have the password because it’s a shared account

  • source
  • parent
  • hideshow 8 child comments
  • [–] 14 points 1 year ago (3 children)

    Well, that makes a huge difference to the meaning of the question.

    I don't know, but maybe the login is held in a dotfile such as ~/.dropbox or maybe in ~/.config/dropbox or similar, and just backing up that (not to Dropbox!) would be enough to restore being logged in on a different system.

  • source
  • parent
  • hideshow 3 child comments
  • [–] [S] 3 points 1 year ago (2 children)

    New problem: they have 2FA as well

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 1 year ago

    Ah ok. So its not so much the current files that you want to retain, but the ability to receive files locally through sync, when someone else elsewhere makes a change?

    Sounds a bit like not wanting to remove the Netflix app because its logged in with the unknown password of an ex.

  • source
  • parent
  • [–] 4 points 1 year ago

    It is of course possible but you’d likely be causing a big mess on the filesystem. If you’re able to move the install into a home directory, why not just archive what you need and restore it after reinstall? This would be the cleaner way to go about it.

  • source
  • [–] 1 point 1 year ago (1 child)

    I assume you aren't using an immutable/atomic distro where you can just rebase the OS?

  • source
  • hideshow 1 child comment
  • [–] 0 points 1 year ago

    This is one of the reasons to always prefer docker over bare metal, if it was docker all you had to do is copy the volume over the new installation and starting the service there.

  • source