Nextcloud AIO Backup and Restore with BorgBackup

Guide · VPS · Last updated · How we research

Sources: official docs and release notes · Drafted with AI assistance, then checked against the linked sources

On this page
  1. What AIO backup covers
  2. Step 1 — Open Backup and restore
  3. Step 2 — Local backup location
  4. Step 3 — Remote Borg repo (optional)
  5. Step 4 — Restore on the same host
  6. Step 5 — Restore onto a new VPS
  7. Step 6 — After restore
  8. FAQ
  9. Sources

Pinned version: Nextcloud AIO v15.1.1 (GitHub release, published 2026-11-20 01:17 JST / 2026-11-19 16:17 UTC; includes Nextcloud 35.0.3). Last checked: 2026-11-23.

Nextcloud All-in-One ships BorgBackup-based backups from the AIO interface: incremental, compressed and encrypted. The AIO README recommends creating a backup before every container update, then restoring with one click if an update fails. Backups can target a local path or a remote Borg repo over SSH.

Install AIO first with our Nextcloud AIO on a VPS guide. For sizing and host choice see cheapest VPS for Immich or Nextcloud.

What AIO backup covers

From the AIO README:

Step 1 — Open Backup and restore

Sign in to the AIO interface (ports 8080 or 8443 as in the install guide). Scroll to Backup and restore.

Step 2 — Local backup location

Enter a directory on the host that Docker can write (often a mounted disk dedicated to backups). Submit the location, then use Create backup. Wait for the success message with the timestamp.

Run a backup before you click Start and update containers.

Step 3 — Remote Borg repo (optional)

Nextcloud's remote Borg blog guide documents SSH remotes:

  1. Enter a remote location such as ssh://user@host:port/path/to/repo and submit.
  2. Click Create backup. The first attempt shows an SSH public key — add it to ~/.ssh/authorized_keys on the backup host.
  3. Create the backup again. Confirm the success timestamp.

Daily or weekly schedules work the same once the first remote backup succeeds.

Step 4 — Restore on the same host

In Backup and restore, reveal all options, pick an archive, and Restore selected backup. When finished, start (and update) containers from the AIO panel.

Step 5 — Restore onto a new VPS

  1. Install a fresh AIO mastercontainer on the new host (same install command as the VPS guide).
  2. In Restore AIO instance from backup, enter the local path or remote ssh://… URL and the Borg encryption password.
  3. Test the path/password. For SSH remotes, authorize the displayed public key, then test again.
  4. Select the archive → Restore selected backup.
  5. Start and update containers.

QA notes in the AIO repo also accept user@host:/path/to/repo form; the URL must include @ and :.

Step 6 — After restore

Log in as admin, confirm files and apps, then schedule daily or weekly backups again. Keep the encryption key in your password manager (Vaultwarden is a common self-hosted place for it).

FAQ

Which AIO version does this match?

v15.1.1, latest non-prerelease on GitHub as of 2026-11-23 (Nextcloud 35.0.3 included). From v15.1.0 the AIO interface can schedule daily or weekly backups. Older guides may still mention v14.4.x or v15.0.x; update from the AIO interface after a backup.

Are Borg backups enough for ransomware?

They help against local disk loss and failed upgrades. Keep the encryption key and at least one copy on another machine or provider. Pair with your own file sync habits if you need per-file history outside AIO.

Does this back up only Nextcloud files?

It backs up the AIO-managed instance (Nextcloud data and the stack AIO controls). Community containers and host-level data outside AIO volumes are out of scope unless you back them up separately.

Sources

Printable restore checklist: Nextcloud AIO restore checklist. One page with what to back up, the restore steps, gotchas and how to check it worked. Or build a full recovery pack for your lab.

Related guides