Command
terminus backup:restore
Description
Restores a specific backup or the latest backup.
Example Usage
terminus backup:restore --file FILE --element ELEMENT -- <site>.<env>backup:restore <site>.<env> Restores the most recent backup of any type to <site>'s <env> environment.
backup:restore <site>.<env> --file=<backup> Restores backup with the <backup> file name to <site>'s <env> environment. Use terminus backup:list to identify available backups.
backup:restore <site>.<env> --element=<element> Restores the most recent <element> backup to <site>'s <env> environment.
Options
| Option | Description |
|---|---|
| --ansi | Force (or disable --no-ansi) ANSI output |
| --define | Define a configuration item value. |
| --element | [all|code|files|database|db] Backup element |
| --file | [filename.tgz] Name of backup file on the plaform |
| --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" |