exp:checkdbfiles
Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.
Summary
Verify the database update files against the upgrade path; reports missing or stray files
Usage
./console exp:checkdbfiles [options] php bin/php/checkdbfiles.php [options]
Help
The output of ./console help exp:checkdbfiles (the script run with --help), without the standard options:
Usage: bin/php/checkdbfiles.php [OPTION]... Exponential DB file verifier Checks the database update files and gives a report on them. It will show which files are missing and which should not be present. For each file with problems it will output a status and the filepath The status will be one of these: '?' file is not defined in upgrade path '!' file defined in upgrade path but missing on filesystem 'A' file is present in working copy but not in the release compared with 'C' file data conflicts with the release compared with The files of the released branches (4.3 up to the current branch) are compared with a release of the kernel's git repository: --compare-with, by default the newest tag v<major>.<minor>.<patch>. Example output: checkdbfiles.php ? update/database/mysql/3.5/dbupdate-3.5.0-to-3.5.1.sql Options: --no-verify-branches Do not compare the files with a release (needs no git checkout) --export-path=VALUE Directory in which a new directory for the release's files is made and removed again (default var/tmp) --compare-with=VALUE The release to compare with: a tag or commit of the kernel's git repository (default: the newest tag v<major>.<minor>.<patch>)
Options
| Option | Value | Description |
|---|---|---|
| --no-verify-branches | - | Do not compare the files with a release (needs no git checkout) |
| --export-path | required | Directory in which a new directory for the release's files is made and removed again (default var/tmp) |
| --compare-with | required | The release to compare with: a tag or commit of the kernel's git repository (default: the newest tag v<major>.<minor>.<patch>) |
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/checkdbfiles.php, kernel/private/classes/commands/checkdbfiles.php
See also
Generated example: exp:checkdbfiles
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment