Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

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.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/expmigrationrecorddiscard.md

On this page

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 --help

Help 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 --apply

Options

OptionValueHelp
--applyMake the changes (the default is a dry run that lists them and changes nothing)
--dry-runThe default, accepted for scripts that pass it: list what would change, change nothing
--formatrequiredtext (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].


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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x