Command
terminus backup:automatic:enable
Description
Enables automatic daily backups that are retained for one week and weekly backups retained for one month.
Example Usage
terminus backup:automatic:enable --day DAY --keep-for KEEP-FOR -- <site>.<env>
backup:automatic:enable <site>.<env>
Enables automatic daily backups of <site>'s <env> environment that are retained for one week and weekly backups that are retained for one month.
backup:automatic:enable <site>.<env> --day=<day>
Enables automatic daily backups of <site>'s <env> environment that are retained for one week and weekly backups on <day> that are retained for one month.
backup:automatic:enable <site>.<env> --keep-for=<days>
Enables automatic daily backups of <site>'s <env> environment that are retained for one week and weekly backups on <day> that are retained for <days>.
Options
Option | Description |
---|---|
--ansi | Force (or disable --no-ansi) ANSI output |
--day | Day of the week to make the month-long backup in any format recognized by PHP strtotime |
--define | Define a configuration item value. |
--help | Display help for the given command. When no command is given display help for the <info>list</info> command |
--keep-for | Retention period, in days, to retain the weekly backup. The default is 32 days. |
--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" |