Command
terminus backup:info
Description
Displays information about a specific backup or the latest backup.
Example Usage
terminus backup:info --file FILE --element ELEMENT --format FORMAT --fields FIELDS --field FIELD -- <site>.<env>
backup:info <site>.<env>
Displays information about the most recent backup of any type in <site>'s <env> environment.
backup:info <site>.<env> --file=<file_name>
Displays information about the backup with the file name <file_name> in <site>'s <env> environment.
backup:info <site>.<env> --element=<element>
Displays information about the most recent <element> backup in <site>'s <env> environment.
Options
Option | Description |
---|---|
--ansi | Force (or disable --no-ansi) ANSI output |
--define | Define a configuration item value. |
--element | [code|files|database|db] Backup element to retrieve |
--field | Select just one field, and force format to *string*. |
--fields | Available fields: Filename (file), Size (size), Date (date), Expiry (expiry), Initiator (initiator), URL (url) |
--file | [filename.tgz] Name of backup file |
--format | Format the result data. Available formats: csv,json,list,null,php,print-r,string,table,tsv,var_dump,var_export,xml,yaml |
--help | Display help for the given command. When no command is given display help for the <info>list</info> command |
--no-ansi | Negate the "--ansi" option |
--no-interaction | Do not ask any interactive question |
--quiet | Do not output any message |
--verbose | Increase the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv) |
--version | Display this application version |
--yes | Answer all confirmations with "yes" |