Home | Appendix

|  |  | Sync: Webdav

We often get requests about supporting other cloud services, e.g., OneDrive. However, it's no trivial task to add and support more and more services. To open up sync opportunities, DEVONthink supports WebDAV, a well-known file transfer technology used by many companies, universities, and individuals across the globe. Cloud services: If you want to explore the options, you can find lists of WebDAV providers online. One we specifically support is a European cloud service, CloudMe. Rolling your own: It is also possible to run a WebDAV server on your own. Some NAS drives, e.g., Synology, have WebDAV capabilities and you can run a WebDAV server by repurposing an older Mac. Even some more full-featured packages like OwnCloud or NextCloud can be set up for WebDAV services. However, these options can provide more technical challenges in setup and administration beyond the scope of our support. Check the manufacturer or service's support pages for information on setting up a WebDAV server. For some, setting up a WebDAV server may be too daunting a task but it's possible to run one directly on your Mac. While we don't develop or offer support for it, this application lets you set up a simple WebDAV server on a Mac: WebDAVNav Server. Choose a folder for your sync store, set up credentials, set up security with a certificate, then start the server. This would be ideal on an always-on Mac mini, but could be used on any Mac. One technical note: When using this application, you do not need to include the folder path in the URL of the sync setup. Technical Considerations Remember WebDAV is a server, so connecting to it is just like connecting to a website using its web address, its URL. And similar to websites that require you to log in with user credentials. URL: In order to connect to a WebDAV server, you need to its URL. The appropriate URL is something you need to get from the cloud service or manufacturer's documentation. For a commercial service, the URL likely is simple. If you're running your own server, it may be more extended. Port: When using WebDAV with an NAS, you will likely need to enter a Port number. This is typically brand-specific, e.g., Synology uses `5006`, but can be modified by you, if needed. Path: You generally cannot write directly to the root of the server, but instead need to use a shared folder. It is best if there are no spaces or punctuation other than hyphens or underscores. A name like `Home_Sync` or `uniSyncData` would work well. Most importantly, the folder name is case-sensitive, so `devonsync` is not `DEVONsync`. So your URL could look similar to: `https://devoncrew.local:5006/DEVONsync`. Credentials: In order to log into the server, you will need to enter your Username and Password. Remote Access: If you're running your own WebDAV server, accessing and syncing to it on your local network is trivial. However, access it from outside you're network will require instruction beyond the scope of our help. Check the documentation for the device to see how to set it up. Setup Setting up and using a WebDAV sync requires entering the address of the server, your login credentials, and specifying or choosing a sync store. On the first Mac… Setup a new WebDAV sync: Step 1: Open Settings > Sync and enable the WebDAV option. Step 2: In the sync setup sheet, enter the URL, Username, Password, and a Sync Store Name. Add an optional encryption key and set any options you need. Then press OK. Step 3: When the location is created, select it and enable the databases you want to sync in the Databases list on the right. On a second Mac, the setup is almost the same but you'll be choosing an existing sync store. Remember: you will be adding an existing sync location, not creating a new one. Setup an existing WebDAV sync: Step 1: Open Settings > Sync and enable the WebDAV option. Step 2: In the sync setup sheet, enter the same URL, your Username and Password. Click the Sync Store Name dropdown and choose the existing sync store. If you used an encryption key when you set it up, enter it in both fields, otherwise leave them empty. Set any options you need then press OK. Step 3: Select the sync location. In the Databases list on the right, you will see databases that are open on both devices, e.g., ones you copied over manually. In the Remote section, you will see databases that either aren't open or haven't been imported. Step 4: Enable any Local databases you want to sync. If you need to import a remote database, Control-click it in the Remote section and choose the appropriate import option, ideally saving to the `~/Databases` directory. Repeat this step as needed.