Backup Repository Setup

The backup infrastructure is set up during the initial setup of the cluster via CF, and by default the backup is enabled. If you are interested in enabling the backup or changing the bucket, you will need to update a few fields in the environment variable of the backup Lambda function.

Fill out the following details:

Parameter NameTypeRequiredDefaultComments
EnableBackupAndRestoreTrue/FalseYes'True'If the backup function is not required, mark as False.
S3BackupBucketNameStringYesThis will get the bucket created by the CF Stack.The S3 bucket name where the backups are stored. This should have read/write permissions.
S3BackupBucketPathStringYes‘lightos-backups’The backup should be stored in a specific path in the bucket. See the Backup Structure section of this guide for additional information.
BackupLambda PeriodMinutesStringYes1440Interval (in minutes) between backups. Since the backup is currently of all the volumes, the minimum interval is 360 minutes (6 hours).
MaxInstanceCountStringYes2The number of exporter instances running in parallel. It is recommended to leave this at two unless you have a large amount of data to back up and the backup period is not sufficient. There is no maximum, but increasing the maximum will increase the cost as well.
TimeBeforeDownscaleMinStringYes60Idle time in minutes of exporter instances before they are shut down. Reducing this number will reduce cost but will delay the start of the next backup/restore by ~10 minutes.
  1. In the AWS console, go to the Lambda dashboard.
  2. From the left menu, select Function.
  1. In the filter, enter Backup. This will show you the backup Lambda that is responsible for the backup exporter execution.
  2. Click the Lambda Function.
  3. Switch to the Configuration tab.
  4. Click the Environment Variable on the side and you will see various configuration keys.
  1. Click Edit.
  1. Change the required values and click Save. Note that this change will take effect for pending backups and for the next backup cycle it will not affect ongoing running backups. No other parameters should be changed.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard