Command
terminus backup:get
Description
Displays the download URL for a specific backup or latest backup.
Example Usage
terminus backup:get --file FILE --element ELEMENT --to TO -- <site>.<env>backup:get <site>.<env> Displays the URL for the most recent backup of any type in <site>'s <env> environment.
backup:get <site>.<env> --file=<file_name> Displays the URL for the backup with the file name <file_name> in <site>'s <env> environment.
backup:get <site>.<env> --element=<element> Displays the URL for the most recent <element> backup in <site>'s <env> environment.
backup:get <site>.<env> --to=<path> Saves the most recent backup of any type in <site>'s <env> environment to <path>.
backup:get <site>.<env> --element=<element> --to=<path> Saves the most recent <element> backup in <site>'s <env> environment to <path>.
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 |
| --file | [filename.tgz] Name of backup file |
| --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 |
| --to | Local path to save to |
| --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" |