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

OptionDescription
--ansiForce (or disable --no-ansi) ANSI output
--dayDay of the week to make the month-long backup in any format recognized by PHP strtotime
--defineDefine a configuration item value.
--helpDisplay help for the given command. When no command is given display help for the <info>list</info> command
--keep-forRetention period, in days, to retain the weekly backup. The default is 32 days.
--no-ansiNegate the "--ansi" option
--no-interactionDo not ask any interactive question
--quietDo not output any message
--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