Skip to main content

Sync with WebDAV

Coming soon

WebDAV sync isn't available in 2Do for Mac just yet. This page is a preview of how it will work once it ships.

WebDAV sync stores your 2Do data as files on a WebDAV server you choose: your own server, a self-hosted Nextcloud or ownCloud instance, or any host that supports WebDAV. It works like Dropbox sync, except the files live on a server you control. 2Do reads and writes its sync files directly on the server, rather than subscribing to a read-only calendar.

tip

WebDAV will let you host your 2Do sync data on a server you control. You will be responsible for setting up and maintaining the server.

What WebDAV Sync Supports​

WebDAV is planned to sync task data and organization as files on your server, including features some other methods leave behind:

  • Every task field: title, notes, dates, recurrence, priority, action, location, sub-tasks.
  • Your task's picture and audio note.
  • List Groups, Tag Groups, Smart Lists, and your saved presets.
  • All your tags, including tags not currently assigned to any task.
  • List colors, groups, and visibility settings.

What Stays on This Mac​

Edits you make to an excluded list stay on this Mac until you include the list again. Any existing copy on your WebDAV server stays there. Settings such as whether to sync automatically are also specific to this Mac.

Setup​

  1. Open 2Do > Settings > Sync and stay on the Setup tab.
  2. From the Account Type pop-up, choose WebDAV.
  3. Fill in the fields (in order):
    • Username: your account on the server.
    • Password: click the eye button to show or hide what you typed.
    • Server Address: the host, e.g. cloud.example.com.
    • Path: the WebDAV path on that host (varies by server; see Self-Hosted Servers).
    • Port: numeric; leave at your server's default unless it uses a custom port.
    • Use SSL: a toggle, on by default. Keep it on so traffic is encrypted.
  4. Click Set Up Sync.

2Do combines the fields into a single URL of the form https://host:port/path. If you type https:// into the Server Address yourself, Use SSL turns on automatically. Set Up Sync stays disabled until you've supplied at least a username, password, and server address.

Use the same server and account on every device. 2Do only syncs devices that connect to the same WebDAV server, path, and account, so a device pointing at a different path or login won't see the same tasks. When a device looks out of sync, confirm its Server Address, Path, Port, and Username match your other devices exactly.

"Can't Verify This Server"​

If your server uses a self-signed or private certificate, 2Do can't confirm its identity automatically and shows a Can't Verify This Server prompt. It names the server, explains why the connection needs confirmation, and shows the certificate's SHA-256 fingerprint.

This is expected for self-hosted setups. Check the fingerprint against your server's certificate, then click Continue to trust and remember it. 2Do stores that trust decision for this exact account, host, port, and fingerprint combination, so you won't be asked again unless the certificate changes. If the certificate changes unexpectedly, 2Do asks again; verify why the fingerprint changed before trusting it.

WebDAV Options​

With WebDAV selected, the Setup tab shows these controls:

  • Sync list ordering: keep your list order in sync across devices.
  • Sync audio notes: include audio attachments.
  • Sync pictures: include picture attachments.
  • Sync app preferences: carry 2Do's app preferences across devices.
  • Sync automatically: device-local; "Turn this off to sync manually."

Merge and Replace​

WebDAV supports the full set of sync actions. On the first sync (or from the Next sync action picker later) you can choose Replace Local Data, Replace Server Data, or Merge (Merge Sync in the picker). See Merge vs Replace for what each does and when to use it.

warning

Replace overwrites one side with the other. If this Mac is empty and you choose Replace Server Data, it can wipe the good copy on your server. Confirm which side holds the tasks you want to keep before continuing.

tip

Save a backup before your first cross-device sync, from Settings > Backups (a backup's ⋯ menu > Save a Copy…). If the server path or the first-sync direction turns out differently than you expected, you'll have a clean recovery point.

Daily Sync​

Once connected, 2Do for Mac syncs continuously in the background while running (unless you turn Sync automatically off on this Mac). Press ⌘S any time to force an immediate sync.

Self-Hosted Servers​

WebDAV is built for self-hosting: Nextcloud, ownCloud, and similar. The one field that differs between servers is the Path, since each product exposes WebDAV at its own location; check your provider's documentation for the exact path to enter. Everything else (Server Address, Port, SSL, credentials) works the same way.

2Do stores its data as its own files inside the path you give it. Those files are an internal sync database, not a task viewer, so don't hand-edit, rename, or move them on the server. If you need to change your setup, do it from inside 2Do > Settings > Sync.