Skip to content

Nextcloud setup

Nextcloud speaks WebDAV, so ZestSSH reaches it the same way as any other WebDAV server: there is no separate Nextcloud integration. You can use a Nextcloud account in two ways, alone or both at once:

  • as sync storage, so all your devices stay the same (any device, free),
  • as a place for copies of automatic backups (from a phone or tablet).

See WebDAV backup destination for how backup copies work.

  • A Nextcloud server reached over https://. (For sync storage, plain http:// is accepted for an address on your own network; for backup copies, only https://.)
  • A Nextcloud user.
  • An app password for ZestSSH, made in Nextcloud under Settings, Security. ZestSSH’s own hint asks for one: you can revoke it without changing your main password.

Nextcloud’s WebDAV address has this form:

https://cloud.example.com/remote.php/dav/files/USERNAME

Put your server’s address in place of cloud.example.com and your Nextcloud user name in place of USERNAME, for example https://cloud.example.com/remote.php/dav/files/sam.

  1. Open the Account page: on a computer Settings, Account; on a phone More, Account.
  2. Under Sync, on the Storage row, choose Choose (or Change), then WebDAV.
  3. Enter the Server URL, your Username, the app password in Password, and a Folder (optional). Left empty, the folder is /ZestSSH/sync/.
  4. Choose Test connection, then Save.
  5. Set up sync as Cloud sync describes.

ZestSSH keeps one encrypted file, zestssh-sync.json, in that folder.

On a phone or tablet:

  1. Open More, Settings, Backups and data, then Backups.
  2. Under Schedule, choose Daily or Weekly if automatic backups are off.
  3. Under Location, choose Add WebDAV / Nextcloud.
  4. Fill in:
Field Value
Label Nextcloud (it starts filled in)
Server URL https://cloud.example.com/remote.php/dav/files/USERNAME
Username Your Nextcloud user name
Password / app token The app password you made
Remote path /ZestSSH/backups/ (it starts filled in)
  1. Choose Save.

The form has no test button: the first automatic backup checks the sign-in. If the folder in Remote path is not in your Nextcloud yet, ZestSSH makes it, each missing level, on the first copy.

After the first automatic backups, your Nextcloud holds files like:

ZestSSH/
backups/
zestssh_auto_2026-04-17T08-00-00.zest
zestssh_auto_2026-04-18T08-00-00.zest

They are encrypted. Opening one needs ZestSSH and your auto-backup password.

  • Space. A .zest file is small, but ZestSSH never deletes old copies on Nextcloud (it keeps only the 3 newest on the device). Delete old ones in Nextcloud from time to time.
  • Restoring. ZestSSH does not download from Nextcloud. Download the file you want, then use Import on the Account page. See Restore a backup.
  • Nextcloud’s own encryption is separate from ZestSSH’s. The files are already encrypted before they reach Nextcloud.

When a backup could not be copied, ZestSSH shows The automatic backup is only on this device. Its details say why:

Details say What to check
Not authenticated The user name, the app password and the Server URL
WebDAV folder ... could not be made The folder in Remote path, and that your user may make folders there
WebDAV PUT failed: 507 Your Nextcloud is out of space
WebDAV PUT failed: and another number The server refused the upload; check its logs

For sync storage, Test connection says what went wrong. The server needs a valid TLS certificate.