Skip to the content
Documentation

exp:upgradecaptions

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

Upgrade captions: the safe points to roll back to (git_manager's and exp:upgrade's), checked with --verify, pruned with --prune

Usage

./console exp:upgradecaptions [options]
php bin/php/upgradecaptions.php [options]
./console exp:upgrade:captions [options]

Aliases

exp:upgrade:captions

Options

Option Value Description
--format required text (default) or json (the machine output exp-upgrade/1)
--verify required Check this caption: its checksums and a restore of its dump into a throwaway database
--prune - Remove the captions of exp:upgrade beyond [UpgradeSettings] CaptionKeep, CaptionKeepDays, CaptionKeepUpgrades
--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
--backup-dir required Where the backup goes (default var/backup/upgrade); a directory <time> is made in it

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/upgradecaptions.php, kernel/private/classes/commands/upgradecaptions.php

See also

Generated example: exp:upgradecaptions

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.