> ## Documentation Index
> Fetch the complete documentation index at: https://ophel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Keep Ophel in sync across devices with WebDAV

> Use a WebDAV server to sync Ophel prompts, folders, and settings across devices. Your data goes to your own server — Ophel's infrastructure is never involved.

export const Icon = ({src, alt}) => <img src={typeof window !== "undefined" && typeof src === "string" && src.startsWith("/images/icons/") && (window.location.pathname === "/docs" || window.location.pathname.startsWith("/docs/")) ? `/docs${src}` : src} alt={alt} width="18" height="18" style={{
  display: "inline-block",
  verticalAlign: "-0.2em",
  margin: "0 0.15em"
}} />;

WebDAV sync lets you push your Ophel data to a server you own and pull it back on any other device where Ophel is installed. Because the data goes to your own server — not to Ophel’s infrastructure — you stay in full control of where your data lives.

Ophel has built-in presets for the most common WebDAV providers:

| Provider                  | Notes                                                  |
| ------------------------- | ------------------------------------------------------ |
| **Nutstore (Jianguoyun)** | Generate an app-specific password on the web dashboard |
| **Infinicloud**           | Fixed URL, works out of the box                        |
| **pCloud**                | Fixed URL, works out of the box                        |
| **Nextcloud**             | Self-hosted; enter your own server URL                 |
| **Synology NAS**          | Enable WebDAV Server in Package Center first           |
| **Seafile**               | Self-hosted; enter your own server URL                 |
| **Custom**                | Any other WebDAV-compatible server                     |

## What gets synced

WebDAV sync backs up the Ophel data stored locally:

* Folders, tags, and pinned state you've set for your conversations
* Your prompt library
* Ophel settings
* Claude Session Keys, if you use the Claude multi-account feature

**Not synced:** The actual conversation messages on AI platforms. Those messages belong to each AI service. Ophel has no access to read or upload them.

<Warning>
  Backup files can contain valid Claude Session Keys when that feature is in
  use. Keep WebDAV backup files private.
</Warning>

## Settings

Configure the sync connection at **Settings → Backup & Sync → WebDAV**:

| Field              | Description                                                                                   |
| ------------------ | --------------------------------------------------------------------------------------------- |
| Server URL         | Full URL of your WebDAV server — must start with `https://`                                   |
| Username           | Your WebDAV account username                                                                  |
| Password           | Your WebDAV account password (stored locally, never sent to Ophel servers or any third party) |
| Remote path        | Directory on the server where sync files are stored (default: `ophel`, created automatically) |
| Sync mode          | **Manual** — click a button to sync; or **Automatic** — sync on a set interval                |
| Auto sync interval | Minimum time between automatic syncs, in minutes                                              |

## Set up WebDAV sync

<Steps>
  <Step title="Open the WebDAV settings panel">
    Go to **Settings → Backup & Sync → WebDAV**.
  </Step>

  <Step title="Enter your server details">
    Fill in the Server URL, Username, Password, and Remote path. If the remote path doesn't exist yet, Ophel creates it on first sync.
  </Step>

  <Step title="Grant the required permission">
    WebDAV sync requires the optional `<all_urls>` permission. Your browser will prompt you to grant it the first time you enable the feature.
  </Step>

  <Step title="Test the connection">
    Click <Icon src="/docs/images/icons/check.svg" alt="Test connection icon" /> **Test connection** to verify your credentials and server reachability before syncing any data.
  </Step>

  <Step title="Choose a sync mode and save">
    Select manual or automatic sync, set an interval if using automatic, and save your configuration.
  </Step>

  <Step title="Push your data">
    Click <Icon src="/docs/images/icons/cloud-upload.svg" alt="Upload backup icon" /> **Upload backup** to push your current local data to the server.
  </Step>
</Steps>

## Restore on a new device

<Steps>
  <Step title="Configure the same WebDAV server">
    On the new device, enter the same server URL, username, password, and remote
    path you used on the original device.
  </Step>

  <Step title="Pull from server">
    Click <Icon src="/docs/images/icons/download.svg" alt="Pull from server icon" /> **Pull from server** to open the list of remote backups, then select
    the snapshot you want to restore.
  </Step>
</Steps>

## Multi-device usage

<Note>
  When multiple devices are active at the same time, use **manual sync** rather
  than automatic sync. Simultaneous automatic syncs from different devices can
  cause write conflicts on the server.
</Note>

## Required permission

WebDAV sync requires the optional `<all_urls>` browser permission. Ophel uses this to make network requests to your WebDAV server's URL. The browser will ask you to grant this permission the first time you enable WebDAV sync. You can revoke it at any time from **Settings → Permissions** — revoking it will disable WebDAV sync automatically.

## Provider-specific setup notes

<AccordionGroup>
  <Accordion title="Nutstore (Jianguoyun)">
    Log in to the Jianguoyun web dashboard, go to **Account Info**, and generate
    an **app-specific password**. Use that app password in the Password field —
    your main login password will not work. The server URL is pre-filled as
    `https://dav.jianguoyun.com/dav/`.
  </Accordion>

  <Accordion title="Nextcloud">
    Set the server URL to `https://your-domain/remote.php/dav/files/username/`.
    Use your Nextcloud login username and password.
  </Accordion>

  <Accordion title="Synology NAS">
    Install the **WebDAV Server** package from Package Center and enable HTTPS.
    The server URL format is `https://your-nas-address/webdav/`.
  </Accordion>

  <Accordion title="Other providers">
    Select **Custom** and enter your server's WebDAV URL. The URL must start
    with `https://` — plain HTTP is not supported.
  </Accordion>
</AccordionGroup>
