How to sync Obsidian 4 FREE · Syncthing vs Autosync

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Whichever tool you end up using, before setting up syncing, backup your files! More on that in a minute. Just didn't want you to skip this advice. It’s important. That being said, this video is about how to sync your Obsidian files for free between your pc or desktop computer — this one — or your Laptop, and your Android device. Using the Obsidian mobile app and Autosync for Google Drive, for Dropbox or for OneDrive, also known as DriveSync, Dropsync or OneSync — or Syncthing. There are other free or freemium alternatives to do this, such as Foldersync. And there’s is no one solution for all scenarios. What suits you best is a matter of your financial situation, technical environment and personal preference, really. After watching this somewhat longer video than I usually do on this channel. you will have a clearer idea of how DriveSync, Dropsync, Onesync and Syncthing work in combination with the Obsidian mobile app, whether one of these is an adequate solution for you — and whether you liked this video and want to subscribe to see more, or if this just wasn’t helpful at all. Speaking of... right upfront: Do the apps discussed here work for iPhone or iPad as well? To be honest, no idea, I haven’t tested it. As far as I know, syncing notes on your iPhone or iPad does NOT work with Syncthing for example, but with iCloud Drive. If you know more about it or have been able to test it lately, then feel free to let us know in the comment section below. I’m sure it would be greatly appreciated, thanks! Now, the knowledge base and notetaking app Obsidian is free for personal use. But the encrypted sync built into Obsidian is a paid service, which currently costs $8 per month, if paid annually. I think it’s worth it, since it’s convenient, officially supported, pretty fast and it comes with one year of version history. This time machine like feature turns out to be quite useful as a temporary backup. But it’s not a real backup. You should have a real backup. However, Syncthing also offers a version history, even longer than one year if needed. So, on that note: If you’re just starting to use Obsidian and haven’t yet settled on it, you might be reluctant to pay for syncing. Also, if money is just tight and the alternatives work fine, without paying a dime. It only costs you some time. Wow, did that rhyme? How sublime. Yeah, enough coffee for me today. But of course, your time is tight too. Therefore, there are chapter markers so you can jump to what’s most relevant to you. For overview, check out the table of contents in the description. Right below the link to my Skillshare profile, where you can find courses of mine and watch them for free as part of the Skillshare trial. Ok, before we continue, three important warnings. First, in case this has not yet been understood: syncing is not the same as creating a backup. How to backup Obsidian, that is a different topic. But I'll put some links in the description on how to backup Obsidian files. Second, create a backup. It doesn’t have to be the ultimate backup solution, yet. Still, make a copy of your files and put it somewhere safe, before setting up syncing. Things can go wrong. Shit can get lost. Don’t want you to cry. Third, do not mix syncing options. Because that’s when things will go wrong, eventually. To quote Eleanor Konik: Bi-directional syncing of a vault with two different services (i.e. Obsidian Sync & iCloud, or iCloud & Dropbox, or git + obsidian sync) is a recipe for race conditions and disaster. This quote is from a Meta Post on Syncing between Devices in the Obsidian forum. It’s widely referred to and I highly recommend to check this out. Other good places for all things related to syncing and more are the Obsidian Members Group, OMG, on Discord — full of bright minds who are really into Obsidian (not just occasionally, like me), and the official Obsidian Help Vault. Links to all this can also be found in the video description below. So... Still here? How nice! Let’s continue. Syncing Obsidian 101 Once you use Obsidian for taking notes or writing in general or whatever, at some point you want to use it anywhere. That includes, of course, a mobile device such as your phone. The Obsidian mobile app is made for that. It’s a great – and I would argue: essential – addition to the desktop version of Obsidian. The Obsidian mobile app let’s you easily add and review files on the go once it’s all set up. But therefore you have to deal with the topic of how to sync your Obsidian files. Syncing files means keeping them up to date across different devices. Then you can switch these devices, but continue working on your files. Since Obsidian is based on simple markdown files, syncing Obsidian for free between PC and a notebook is fairly easy. In most cases you can do that with your cloud service, be it Dropbox, Google Drive, iDrive, OneDrive, pCloud... Quick tip: You can not only sync your markdown files like this, but also your Obsidian plugins, settings and themes, as they are saved in a hidden folder called .obsidian right within your vault. To make hidden files and folders visible, press shift + cmd + . for Mac. For Windows: I don’t know, but Google will. Although all of these cloud services offer mobile apps, syncing Obsidian files with these does not work that easily. The reasons for this are in detail beyond my expertise and better explained elsewhere. Apparently it has something to do with app sandboxing, among other things. As a not very, very tech-savvy person (I am more into old paper books, obviously), I would explain it like this: Syncing depends heavily on communication between applications and devices and stuff. That’s what makes syncing inherently complicated, just as communication in general is. Think of everyday situations: You say A, your partner understands B — and all of a sudden you're getting a divorce, arguing about the custody of your kids. Communication is messy and always will be. It needs Fingerspitzengefühl, you know, empathy, sensitivity and all that jazz. And still, there is simply no way to rid communication of all potential for conflict, to eradicate every ambiguity and misunderstanding. The same goes for syncing. There is no such thing as error-free, totally seamless syncing. As one of the Obsidian developers put it in the early days: »yeah syncing is never easy« So much for lowering your expectations. Whichever solution you choose, it will never be all smooth all the time. Even with the official Obsidian Sync. But for now, let’s finally talk about what you're here for: Syncing Obsidian for free, at first using Autosync for Google Drive and then using Syncthing. Setting up Autosync for Dropbox, Google Drive and OneDrive Czech this out: Autosync for Google Drive (also called DriveSync), for Dropbox (called Dropsync) and for OneDrive (called OneSync) are all from the same developer and work very similar. I used Dropsync for several month and it was all in all a good experience. But for a change I'll show how it works using Autosync for Google Drive (or DriveSync) as an example. As I said, the apps are very similar, so much so that this Quick Start Guide should help either way, even if you want to use Dropsync or OneSync. I assume you have Obsidian and the Cloud Service of your choice, Dropbox, Google Drive or OneDrive, already installed, both on your desktop computer or laptop and on your Android device — and that your Obsidian Vault is already placed in your Cloud folder. That’s like step zero. This seems like a good opportunity to remind you again to please back up your files. Beware that once sync is set up, deletions will also be synced. Therefore, if you haven't already, save another copy of your vault somewhere safe. Like, right now. Ok, open Obsidian and — from the start screen — select "Open folder as vault", then find the copy of your vault in your cloud folder and open it. Obsidian will now remember that your vault is in the cloud. If you do this on your PC and your laptop, that's already enough to sync Obsidian between those devices. But the mobile versions of Dropbox, Google Drive and OneDrive, they don't create a local copy that would be accessible for the Obsidian mobile app. Hence, we need a workaround and that's where Autosync for Dropbox, Google Drive or OneDrive comes in. Step 1: Find the right Autosync app in the Google Playstore. For this example it’s Autosync for Google Drive. Note that there’s also an app called Autosync — File Sync & Backup, again, from the same developer, as a universal file sync and backup tool for any cloud storages and NAS devices. But this one has a trial period after which you would have to purchase to continue using the app. Autosync for GoogleDrive, Dropsync and OneSync on the other are free to use, but they come with ads. You can upgrade to remove these ads and add some premium features, which we don’t need for now. But for the record: The upgrades are very affordable one-time payments. You practically buy the developers one or two Starbucks coffees, a nice gesture, you might want to consider. Install the app of your choice, open it and agree to any terms. To sync data the app needs access to your device storage, which you have to be ok with as well. Therefore, enable »All files access« for Autosync. Step 2: Connect Autosync to your cloud storage. Press the button, choose an account, click ok and done. Google Drive connected, in this case. If you want to disconnect, go to Settings in the upper right corner, click Google Drive account, press the three dots on the right side and remove your account. Step 3: Choose what to sync. Again, press the button. Then there are three options, from which we choose the second one: Let me create my own folder pair. Here’s where the magic happens. First, assigning a folder pair name is optional. I’ll call it Obsidian. Second and required: Select a remote folder. In Google Drive I go to My files, to Documents and there I placed only one folder, my Obsidian Vault, which is named after the princess Ariadne you might know from Greek mythology. Third and also required: Select a local folder on your phone or your mobile device. You can choose between internal storage and, if available, SD card. I read on the Obsidian forum that Android has made changes to make SD cards more secure in 2021, and as a result only certain apps have access to SD cards — so this might cause issues. Not sure though if this situation is still up to date. Either way, in the setting of DriveSync, Dropsync and OneSync you can manage the SD card write access if that’s relevant to you. I choose the internal storage anyway, go to Documents and there I’ve already created a folder called Ariadne as well and that’s it. As Sync method you want to enable Two-way to really make this a syncing solution and not, for example, a backup solution — which is something different that you should totally have. Can’t stress this enough... Lastly, uncheck the checkbox for "Exclude hidden files", so that your Obsidian plugins, settings and themes are synced as well. Et voilà, you have synced folders. Quick example: On the desktop version of Obsidian I create a new file in my vault, give it a name, write something in it and then take a look in Obsidian on my mobile device. After a few seconds, the file appears, great, it works. I add something in the mobile version — and a little later the change appears on the desktop. A small delay remains, though. At the time, I had made it a habit to constantly open Dropsync and sync it manually to speed up the process. Not ideal, but that’s how workarounds are, right? Not. Ideal. The official Obsidian Sync works faster and more conflict-free, as you would expect. A common problem that I ran into when syncing Obsidian files via Dropbox and Dropsync has been file names: There's a list of characters that are not allowed and Dropbox also has a problem with emojis in filenames. Not that I would use emojis in filenames but a lot of people do, so... Consider it a warning. So much for Autosync for Dropbox, Google Drive and OneDrive. Other alternatives to sync Obsidian files for free are Foldersync and the much more recommended Syncthing. I didn’t try Foldersync myself but there are great introductions to Foldersync online. And I’ll put a link to one of them in the description, right below the like and subscribe buttons, as we are more than halfway through and you might want to press at least one of these buttons by now. Next up: Syncthing. Setting up Syncthing for Obsidian When it comes to syncing Obsidian for free, many people on the internet recommend Syncthing as the best solution. Syncthing is a synchronization application that is free to use, encrypted and open-source. It let’s you sync files without third parties such as Dropbox or Google Drive being involved. Syncthing is around for almost 10 years, so it’s well established. Here’s how to set it up, in short. For more details check out the official and very comprehensive documentation of Syncthing. It’s linked below. Step 1: Download Syncthing via syncthing.net on your desktop or laptop device — let’s call it: your local device — and install it. For Windows, the desktop application is called SyncTrayzor. When you start the program for the first time, it will create a Default Folder called Sync in your home directory. Then download and install Syncthing also on your Android device — your remote device. You can find the Syncthing mobile app on Google’s Playstore. Step 2: Open the mobile app and click through the first steps. Syncthing needs to access your storage to do file synchronization, so you have to grant permission to that. Syncthing can also be configured to synchronize on selected WiFi networks only. If you want to use this feature, you have to grant permission to access the location of your phone device in the background. This is optional. Let's continue. If you’re not connected to any Wi-Fi you’ll see a warning, that Syncthing is disabled. You can change that by connecting to Wi-Fi or change the setting so Syncthing can run on mobile data as well. There might be another warning for battery optimization, which you might want to turn off for Syncthing so that Android won’t stop synchronization after some time. To do that, just add Syncthing to your device’s whitelist. Here we are, ready to put this app to use. Step 3: Add your local device — your pc, your desktop computer or laptop — to the Syncthing mobile app of your remote device. Therefore, go to DEVICES and click on the plus icon in the top right corner. Now, to add a device you need the Device ID, the identification number for the other device that you want to sync your files with — which is the local device, the first device you installed Syncthing on in Step 1. Switch to that device, open Syncthing and go to Actions and Show ID. That will open up a window with the ID and a quick response code, better known as QR Code. You can copy the ID manually or scan the QR code by clicking on the QR code icon in the mobile app and allow Syncthing to take a picture. You can name the device if you want and click on the checkmark icon in the top right corner. On your desktop device, when you close the Device ID window you’ll be informed that a new device wants to connect. Click add device, change the name if you want, save and done. Congrats, you are connected. On your desktop version of Syncthing you can now see your remote device right beneath the section of this device. Step 4: Set up folders for syncing on both devices. On your desktop device you’ll find a Default Folder, unshared so far. This is the folder called Sync that Syncthing created in your home directory. You can edit and change the folder label, which is not the same as the folder name on your computer. I’ll label it Obsidian, because that’s want I want to use it for. There’s the default folder’s path, which you can’t change here when the folder does already exist. But this is the place where you define the location for a new folder, when you decide to add a folder. If you — for example — already have an existing Obsidian Vault as a folder on your device, then you can copy the path to this folder and paste it here. Keep in mind that your Obsidian Vault should not be in a cloud when doing this, to avoid a mix of multiple sync options. To copy a path on Windows, just right click on the folder and choose copy as path. On Mac, right click the folder and when the menu pops up, hold down the option key. That reveals the copy as path name option. Paste it to Syncthing. Otherwise, move (or copy) your Obsidian Vault into the Default Folder — or create a new one in there to be your future vault. I’ve done that, so in the folder called Sync created by Syncthing, I created a new folder called Ariadne to be my Obsidian Vault for this demonstration. Next go to Sharing and select your mobile device. If untrusted, you can enter an encryption password. Click save et voilà, your folder is now up to date. On your mobile device you’ll see a notification, that your desktop device wants to share a folder. If you click accept you can now create a folder on your mobile device. The mobile folder's label can be different from the desktop folder’s label. Again, this label is not the same as the folder name. Now click Directory to choose where on your mobile device this folder should be put. Per default it gives me a path it gives me a path starting from my SD Card. But I want it to be on my internal storage, to have less trouble with accessibility. Again, not sure if this really might cause issues. Anyhow, I go to my internal storage and create a folder called Sync — could be called different though, whatever you want. I allow Syncthing to access files in this folder and the this path will be shown as Directory. Further down you can see the folder type, which is by default Send & Receive. You can change that now or later under advanced settings to Send Only or Receive Only, so that syncing is a one-way street. But for most use cases with Obsidian you probably want to have both. Hit the checkmark and done. Since the folders are now linked and synced, the Obsidian Vault that I created on the local device also shows up on my remote device. Well, to make it an Obsidian Vault I have to start Obsidian and open the folder as a vault — on both devices. Now when I create a new file on the remote device and write something, then after a few seconds it is also displayed on the local device. And if I add something there, I see it — with the magic of syncing — appearing on the remote device as well. This is what Syncthing with Obsidian looks like in action. Speaking of the magic: How does this even work? Like, syncing in general and with Syncthing specifically? For that I recommend a couple of Medium articles written by Jakob Borg, the original author of Syncthing. They are linked below and for laymen like me an interesting, short introduction. And again, for more details, for exmaple on how to ignore certain files — if you don’t want your Obsidian settings and themes and plugins to sync — or on how versioning works in Syncthing, check out the official documentation. To sync Obsidian files for free, the easiest solution for me was Dropsync. I still think it’s a bit easier to set up than Syncthing. Or maybe it’s just that Dropsync’s UI looks a bit more familiar to me than Syncthing’s GUI or Graphical User Interface does. And since Dropsync has always worked well for me, there was no need to try other alternatives. But there was curiosity. And after getting to know Syncthing, setting it up and trying it for a while, I gotta admit: This is a really great software. Not only for syncing Obsidian files, but so much more, like backing up your Android device for example. And I like that it’s open source like Bitwarden. Not that I would ever understand the code when looking into it, but well, it feels good that I could. Now, compared to Syncthing, the official Obsidian Sync doesn't seem to have much more to offer. So why pay for it? Which I would still recommend, by the way, if you have the money to spare. Is the price, for a sync service, a bit high? Yes. But is the app Obsidian itself, being free for personal use, kind of underpriced? Hell yes. And still, the official Obsidian Sync is the easiest to set up. As someone who uses Obsidian for several hours every day now I find it more than ok to pay for syncing. Especially considering that Obsidian itself, in the Obsidian Help Vault, is happy to point out free alternatives. I think that is a great attitude. Ok, that’s it for today. Class dismissed. No, wait! On a personal note: Since my last video here on YouTube, my subscriber count has multiplied, not doubled, not tripled, but increased sixfold, which really blew me away. Therefore: A big hello to everyone new here – I’m glad to have you! Take a look around, I'm sure there are already a few videos you might enjoy. And for more, check my Skillshare profile. I'm currently working on a course that includes Obsidian use cases as well. So, if you'd like to suggest specific Obsidian topics or questions to be covered in that course or in future videos, just post them in the comment section below. And to stay up to date, follow me on Instagram and Twitter and subscribe to my newsletter. Thanks for watching and auf Wiedersehen, see you soon! But there was curiosity and that’s quite enough for most things that I do in my spare time. However...
Info
Channel: DJ Lensing
Views: 167,675
Rating: undefined out of 5
Keywords: Obsidian, Obsidian files, backup, Autosync, Autosync for Google Drive, Google Drive, OneDrive, Dropbox, Dropsync, DriveSync, OneSync, Foldersync, Syncthing, Jakob Borg, Obsidian Sync, sync for free, syncing for free, sync Obsidian, Skillshare, Eleanor Konik, syncing between devices, obsidian md, osidian app, obsidian.md, obsidian sync, obsidian sync free
Id: t3cy132eeUU
Channel Id: undefined
Length: 23min 0sec (1380 seconds)
Published: Wed Sep 21 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.