Create a backup
skpr backup create dev Creating new backup dev-cz2kw
$ skpr backup create --help usage: skpr backup create [<flags>] [<environment>] Create an backup on demand Flags: --help Show context-sensitive help (also try --help-long and --help-man). -w, --wait Wait for backup to complete Args: [<environment>] Environment to backup
If the project is running on a Skpr cluster, it will benefit from receiveing managed backups.
A backup consists generally of two pieces - database and files (Drupal public, private & temporary)
The frequency of these system backups can be configured in the projects configuration.
backup: schedule: @daily # Crontab format.
crontab guru is a great resource for writing Crontabs.
Additionally developers can provide the flag
--tag to group backups.
This becomes convenient when grouping backups with common tasks eg.
$ skpr backup create dev --tag=test
After creating a backup, consider one of the following: