Full restore: maintenance mode on before the checks (off again when they refuse); the printed retry command is complete
This commit is contained in:
@@ -99,8 +99,10 @@ writes into it; the restore switches it off when it completes. (If you had switc
|
||||
mode on yourself before, it stays on: switch it off with `occ maintenance:mode --off` when ready.)
|
||||
|
||||
If it stops halfway, maintenance mode stays on (the instance may be partly restored). Fix the cause,
|
||||
then switch maintenance mode off and run the same command again with `--force`, in one line:
|
||||
`occ maintenance:mode --off && occ backup:restore:full <location> <snapshot> --install-apps --force`.
|
||||
then switch maintenance mode off and run the restore again with `--force`, in one line (the message
|
||||
prints it): `occ maintenance:mode --off && occ backup:restore:full <location> <snapshot> --force`.
|
||||
Leave out `--install-apps` this time: the apps are installed already, and the instance is then open
|
||||
only for the seconds until the restore has switched maintenance mode on again.
|
||||
If occ then says that Nextcloud or one of the apps requires an upgrade, the database is already
|
||||
the old server's: run `occ upgrade` first, then the same command with `--force`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user