Skip to content

Backup and Recovery

Backup and Recovery refers to the entries in the Parameter Store.

Backup

Every time a parameter store entry is added or modified, the complete set of Parameter Store entries is put into a JSON file, and this file with date and time in its name is stored in an S3 bucket.
(See more about the Backup Creator.)

Recovery

There are two ways to recover the Parameter Store entries:

  • Use the command in our CLI Tool pnpm cli restore-backup.
  • Use the GitHub workflow Restore central CDN config (which uses the same command).

Call

pnpm cli restore-backup -h

for more information.

Mainly, the script has an optional parameter --file that can be used to set a specific backup file from the S3 bucket to be used. The default is to take the last file that was written to the bucket.