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
- Start backup only – button under Settings → Administration → NC Backup
- No restore – recovery stays at
http://SERVER:42173(master password) - Calls only
POST /api/v1/backupandGET /api/v1/status– no restore endpoint - Admins only
- Nextcloud 28–32 · requires nc-backup 1.7.1 (web UI must be running)
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
- nc-backup 1.7 must be running:
systemctl status nc-backup-web - In the web UI, generate a new API token (shown in plaintext once)
- In Nextcloud: Settings → Administration → NC Backup
- URL: native on the same host
http://127.0.0.1:42173· Docker: host LAN IP, not127.0.0.1inside the container - 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