exp:expmigrationrecorddiscard
Discard a recording of changes: the recording and every event it captured are removed (a running one stops recording); a dry run unless --apply.
Script bin/php/expmigrationrecorddiscard.php, code in kernel/private/classes/commands/expmigrationrecorddiscard.php. Run it from the installation root, as the user the web server runs as:
./console exp:expmigrationrecorddiscard --help
./console exp:migration:record:discard --help
php bin/php/expmigrationrecorddiscard.php --helpHelp text
Discard a recording of changes
Removes the recording and every event it captured; a recording that runs stops. What was changed
while it recorded stays changed: only the record of it goes. Without --apply it says what it would
remove.
./console exp:migration:record:discard 20261101-120000-a1b2c3
./console exp:migration:record:discard 20261101-120000-a1b2c3 --applyOptions
| Option | Value | Help |
|---|---|---|
--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 | |
--format | required | text (default) or json (the machine output exp-migration/1) |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Arguments: [recording].
Related
Generated by ./console exp:help:examples from bin/php/expmigrationrecorddiscard.php, kernel/private/classes/commands/expmigrationrecorddiscard.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.