Nextcloud app · ncbackup 1.0.0 · requires nc-backup 1.7

NC Backup for Nextcloud

Admin app: start a backup from Nextcloud settings. Restore stays in the nc-backup web UI on purpose – not in the cloud interface.

What it does – and what it does not

Download

ZIP ncbackup-1.0.0.zip – contains the folder ncbackup/ as Nextcloud expects.

Also shipped with the Debian package at /usr/share/nc-backup/nextcloud-app/ncbackup.

Install (native)

unzip ncbackup-1.0.0.zip
sudo cp -a ncbackup /var/www/nextcloud/apps/
sudo chown -R www-data:www-data /var/www/nextcloud/apps/ncbackup
sudo -u www-data php /var/www/nextcloud/occ app:enable ncbackup

Adjust the Nextcloud path if it is not /var/www/nextcloud.

Install (Docker)

Copy folder ncbackup into the container/volume apps directory, then:

docker exec -u www-data <nextcloud-container> php occ app:enable ncbackup

Setup

  1. nc-backup 1.7 must be running: systemctl status nc-backup-web
  2. In the web UI, generate a new API token (shown in plaintext once)
  3. In Nextcloud: Settings → Administration → NC Backup
  4. URL: native on the same host http://127.0.0.1:42173 · Docker: host LAN IP, not 127.0.0.1 inside the container
  5. Paste the token, save, start a backup

Nextcloud often blocks local URLs. In config.php you may need:

'allow_local_remote_servers' => true,

Security

Restore is not available through the app. nc-backup stores only the token hash; Nextcloud stores the token in app config (admins only). Without a valid token the API returns HTTP 401.

License

App: AGPL-3.0 · nc-backup service: GPL-3.0-or-later · free · optional PayPal donation