dillard 2ab4b2e7d5 M2: full backup runs (database, config, data) with occ and cron
BackupService starts a run per location (database dump in one
transaction, then config + data directory as a resumable file run),
stores the state in ngb_runs after every step, locks a run while a step
executes and records the snapshot. Previews, logs, updater backups and
per-user cache/uploads are excluded (TreeWalker now supports patterns).
BackupJob (every 5 min) starts the daily schedule and steps running runs
with a short budget under web cron and a long one under system cron.
occ: backup:run, backup:status, backup:list.

Tested on NC34/PostgreSQL: first run 128 files / 1 GiB in 64 s (443 MiB
uploaded to S3), unchanged second run 2 s / 0 bytes; a background run to
SFTP completed through cron.php.
2026-10-02 00:53:50 +02:00
2026-10-01 18:59:07 +02:00

NG Backup

Encrypted, incremental backups of Nextcloud with restore from the web interface. Works without shell access: no external programs, no extra PHP extensions beyond sodium.

Status: phase 0 (prototype). Not usable yet. See PLAN.md for the design.

License: AGPL-3.0-or-later.

S
Description
No description provided
Readme AGPL-3.0 8.2 MiB
1.1.0 Latest
2026-11-09 17:44:26 +01:00
Languages
PHP 84.9%
Shell 9.7%
Vue 5%
JavaScript 0.4%