Skip to main content
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

OptionDescription
--ansiForce (or disable --no-ansi) ANSI output
--defineDefine a configuration item value.
--element[code|files|database|db] Backup element to retrieve
--file[filename.tgz] Name of backup file
--helpDisplay help for the given command. When no command is given display help for the <info>list</info> command
--no-ansiNegate the "--ansi" option
--no-interactionDo not ask any interactive question
--quietDo not output any message
--toLocal path to save to
--verboseIncrease the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv)
--versionDisplay this application version
--yesAnswer all confirmations with "yes"
Back to all commands