Home / GitHub Page

How To Change Sync Target

How do I change the sync target? More specifically, I want to change the sync target to the same service but a different account (dropbox but a different dropbox user). I also saw multiple sync targets are possible, how can I set that up.

What I’m trying to do exactly is set up a work-only account for Joplin on my work computer.

When I open the client settings (Tools > General Options) all I can do is change the service. I want to keep the same service but use a different email.

I don’t know if people think I didn’t search and that’s why no one is answering but I did and nothing clearly explains how to do this. There are some posts that seem to be vaguely related but I don’t understand what they mean whatsoever.

The main site also doesn’t explain how to do it, only how to set it up the first time (e.g.: select service then press sync). Doing that again does nothing but sync using the same Dropbox account.

And again, I tried searching the forums but I couldn’t find what I was looking for.

I don’t know, if changing the account is the same as changing the service. In one case you have to copy the data over to the new location (otherwise you lose it on the client), in the other case you don’t have to do that.
@laurent would know.

You can’t use multiple sync targets unless you use different Joplin profiles, but according to @laurent, there can’t be 2 prod instances of Joplin running at the same time.

In your case the reason people aren’t responding is probably because no one knows, it might even be impossible. This is a situation that I don’t remember ever coming up before.

The easiest option (to me) would be for you to backup all of your notes (export to jex) then uninstall Joplin and delete the config folder. When you reinstall you’ll be able to add a new target for sure.

That’s surprising. In my opinion, it’s pretty fundamental. Oh well.

So I uninstalled and deleted the last folder I could find in my AppData\Roaming folder. After I reinstalled, everything was still there and I didn’t get an option to pick a sync target. This is awfully complicated for something as standard as logging out and into another account.

Reinstalled again and restarted and now I get a “fatal error”. image

Updated to this version, same problem.

Fixed. I think this is an old version. Updated to this version. Now back to trying to change the sync target and account. I think I just need to actually press sync after changing the option.

Fixed by doing the following:
Back everything up

  1. Uninstall and reinstall Joplin
  2. Change the sync target to file system so I didn’t have to worry about logging in somewhere else or making a a new account with one of those services.
  3. Apply and press sync at the bottom left of the main Joplin screen
    3.1. This may or may not be optional but I also backed up my notes since all I was doing was separating work from personal, then deleted everything Joplin related on my initial Dropbox (Gonna have to set that up again too so try without this step first)
  4. Go back to Tools > General Options, change back to your desired sync target and press apply
  5. Press sync again at the bottom left of the main Joplin screen
  6. It will prompt you once again to set up the service and you will be able to use the link provided to log into a different account from the same service.

I tried uninstalling Joplin completely on windows, but it doesn’t work. Whenever I install it shows me all my previous notes and settings. I deleted all folders which have everything to do with Joplin but it doesn’t work. Does joplin automatically read all .jex files on install ?

Maybe it’s getting the files back from the sync target. Delete all the notes in Joplin so they will also be deleted at the sync target then uninstall. What exactly are you trying to do, though?

So you’ve also delteted the profile info in the user’s config directory?
Just checkin’, since they’re not in the install dir and might be missed. (And it would explain why your notes are still there.)

IIRC, I’ve once uninstalled and deleted everything, and neither notes nor sync config were kept.

Joplin does not read and import arbitrary .jex files.

I know it isn’t synced to the target. I am trying to completely uninstall Joplin and do a clean new install so that I can change my one drive account as there doesn’t seem to be any other way. I tried deleting all files I could find except the backup .jex file but it doesn’t seem to work.

I have tried deleting everything from the user Appdata folder and program files in windows but it seems to retain the data somewhere.

It worked, apparantly the program was using an old install directory as backup and the new installs were using that backup even though they were installed in a different location. Thank you for your help everyone.