exp:upgraderollback
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
Upgrade rollback: put the database, storage, settings, libraries and code back to a caption (dry run unless --apply)
Usage
./console exp:upgraderollback [options] php bin/php/upgraderollback.php [options] ./console exp:upgrade:rollback [options]
Aliases
exp:upgrade:rollback
Options
| Option | Value | Description |
|---|---|---|
| --apply | - | Make the changes (the default is a dry run that lists them and changes nothing) |
| --dry-run | - | The default, accepted for scripts that pass it: list what would change, change nothing |
| --parts | required | Only these parts, a comma list of database, storage, settings, libraries, code (default: what the caption has) |
| --backup-dir | required | Where the backup goes (default var/backup/upgrade); a directory <time> is made in it |
| --format | required | text (default) or json (the machine output exp-upgrade/1) |
| --no-caption | - | Write without taking a caption first (the same as --no-backup); refused on production without --force-no-caption |
| --force-no-caption | - | With --no-caption on a production installation: write without a caption all the same |
| --no-verify | - | Skip the verification after the upgrade (exp:upgrade:verify --after) |
| --url | required | The addresses the smoke check requests after the deploy (a comma list or repeated); default the front page of SiteURL |
| --no-tests | - | Leave the test suite upgrade-smoke out of the verification |
| --allow-vendor-changes | - | Install the libraries although Composer reports local changes in vendor/ |
Arguments
[CAPTION]
Standard options
Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.
Source
bin/php/upgraderollback.php, kernel/private/classes/commands/upgraderollback.php
See also
Generated example: exp:upgraderollback
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment