i thought Dropbox was some sort of cloud storage thing. couldn't you just mount it on whatever distros you wanted?
It is; I want to reinstall my OS without losing my Dropbox install
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.
Of allllll the things you’re worried of losing…. It’s a Dropbox install?
Yes, lol. Long story short,I don’t have the password because it’s a shared account
This is the most important piece of information. You should edit the post and/or title to make this more clear.
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.
New problem: they have 2FA as well
Fix: download what you need locally, reinstall Linux, find a different software or account, be free of this problem forever.
If my suggestion works, that won't matter, it will still be logged in on the new install.
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.
I would back up all the important files you need before you change anything.
You dont need the install preserved, you need the login session preserved. I doubt that it's even possible
Try reinstalling your system in a vm to see what works
You can generally back up your home folder and use it with another distro, without losing data. (though it can happen that stored settings are not compatible with some changed programs).
All your data is in your home folder.
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.
Do you mean
- To persist the programs installed across multiple OS installs, or
- To persist the Dropbox login/folders across multiple OS installs?
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.
- Having a separate partition for /home might be sufficient since dropbox keeps the login details in ~/.config
- 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
I assume you aren't using an immutable/atomic distro where you can just rebase the OS?
I’m not, I’m on xubuntu at the moment
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.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0