Upgrade module can be used as a Command Line Interface.
Entry point is cli-upgrade.php. The following parameters are mandatory:
If you use default
action parameter, it will run the full upgrade process.
$ php cli-upgrade.php --dir=admin-dev --channel=major
If an error occurs during the upgrade process, the rollback will be suggested. In case you lost the page from your backoffice, note it can be triggered via CLI.
Entry point is cli-rollback.php. The following parameters are mandatory:
$ php cli-rollback.php --dir=admin-dev --backup=V184.108.40.206_20190502-191341-22e883bd