Skip to the content
Documentation

exp:upgradebackup

No ratings yet

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

Summary

Upgrade backup: the backup exp:upgrade makes before it writes, on its own (database dump and settings overrides)

Usage

./console exp:upgradebackup [options]
php bin/php/upgradebackup.php [options]
./console exp:upgrade:backup [options]

Aliases

exp:upgrade:backup

Options

Option Value Description
--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)

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

See also

Generated example: exp:upgradebackup

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.