WebDAV
Configure a WebDAV server as external storage for your backups.
Portabase can send backups to any WebDAV server reachable over HTTP or HTTPS. This is useful for a NAS, a self-hosted service, or a hosted WebDAV account that you want to use as a backup destination.
Prerequisites
- A WebDAV URL reachable from the Dashboard and from your agents.
- Permission to create, read, and delete files in the target location. If the server requires authentication, use the WebDAV server credentials (username and password) for Basic Authentication, or a Bearer Token.
Configuration on the dashboard
In Storage > Channels, click + Add Storage Channel and choose WebDAV.
Fill in the connection fields:
| Field | Required | Description |
|---|---|---|
| Channel Name | Yes | A label for this channel in the dashboard (for example, Office WebDAV). |
| WebDAV URL | Yes | The HTTP or HTTPS URL of the WebDAV root, for example https://dav.example.com/remote.php/dav/files/backup. |
| Username | No | The account username when using Basic authentication. |
| Password | No | The account password or application password when using Basic authentication. |
| Bearer Token | No | A token sent as a bearer credential. Do not combine it with a username or password. |
| Remote path | No | Optional prefix below the WebDAV URL. Backups are stored under backups/YYYY-MM-DD/ beneath it. |
| Custom headers | No | Additional HTTP headers sent with every WebDAV request, for example X-Api-Key. |
If authentication is required, use either Basic authentication (username and password) or a Bearer Token. Prefer an application password or a scoped token when your provider supports one.
Click Test Storage to verify the connection, then Add Channel to finalize.
Custom headers
Use custom headers only when your WebDAV gateway requires them. Header names must be valid HTTP header names; values cannot contain line breaks. Portabase sends up to 32 headers with every request, so do not use this feature for one-off debugging headers.
Verification
- Trigger a manual backup on an agent using this channel.
- Open the WebDAV destination with your usual client.
- Confirm that the backup file exists below the configured remote path, in
backups/YYYY-MM-DD/.
Last updated on