diff --git a/PLAN.md b/PLAN.md index f69b0ba..b809891 100644 --- a/PLAN.md +++ b/PLAN.md @@ -440,6 +440,11 @@ in README "Known limitations": PUT van 2,4 naar 7,5 MiB/s, ng_backup van ~1 naar ~1,6 MiB/s (rest = serieel lezen/uploaden). Tip over BBR in de README gezet. Let op: PVE02 staat in Canada; een restore in de EU gaat sneller. 15. DR-document: in het Docker-voorbeeld "je containernaam" (`docker ps`) i.p.v. `nextcloud`. + **Kleine DR-test met rc2 (2026-10-18), volautomatisch geslaagd:** bron VM 981 (NC 34, PostgreSQL, + 51 GB, Mail met gesynct account, Deck uitgeschakeld, Calendar/Contacts, admin_audit) → OVH S3 → + verse VM 982 met alleen de DR-gids en `--install-apps`: apps vanzelf geïnstalleerd, 10 Deck-tabellen + aangemaakt, 15 FK's in orde, 23.519/23.519 checksums gelijk, agenda/contact/mail/bord terug. + Restore 1 u 47 vanuit Warschau naar Canada (met BBR). Lokaal slaagt de test ook op SQLite en MariaDB. **Daarna verplicht:** een tweede volledige restore op een verse VM, alleen met de HOWTO en de nieuwe opties, zonder handwerk. Pas als die in één keer slaagt: 1.0.0. diff --git a/docs/DISASTER-RECOVERY.md b/docs/DISASTER-RECOVERY.md index 5861db4..93b1717 100644 --- a/docs/DISASTER-RECOVERY.md +++ b/docs/DISASTER-RECOVERY.md @@ -95,15 +95,19 @@ out with `--skip-missing-tables`. **8. Let the restore run.** It restores the database, then the data directory, and takes hours for a large backup. If it stops halfway, fix the cause and run the same command again with `--force`. -**9. After the restore** +**9. After the restore.** These worked in our tests: -- Check `config/config.php`: `trusted_domains`, `overwrite.cli.url`, and the cache (Redis) host - must match the new server. The database settings and data directory are kept from the new - installation. -- `occ upgrade` (apps on the new server may be newer than in the backup), then - `occ maintenance:repair`. -- Log in, open some files, a calendar and a contact. -- Start background jobs (cron). + occ upgrade + occ maintenance:repair + occ files:scan --all + +- Check `config/config.php`: `trusted_domains`, `overwrite.cli.url` and `overwritehost` come from + the old server; change them if the new server has another name. The database settings and the + data directory are kept from the new installation. +- From Nextcloud All-in-One to a regular server: also check the cache settings (`memcache.*`, + `redis`), which point at AIO's containers. +- Log in, open a few files, a calendar and a contact. +- Start background jobs again (cron), as in step 2 in reverse. **10. Point your domain at the new server** and check that clients reconnect.