Skip to content

Commit

Permalink
Tag s3 redis backup objects with more info
Browse files Browse the repository at this point in the history
  • Loading branch information
roivaz committed Oct 11, 2023
1 parent 049461b commit 6c53e53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/redis/backup/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ func (br *Runner) TagBackup(ctx context.Context) error {
tags := []types.Tag{
{Key: aws.String("Layer"), Value: aws.String("bck-storage")},
{Key: aws.String("App"), Value: aws.String("Backend")},
{Key: aws.String("Shard"), Value: aws.String(br.ShardName)},
{Key: aws.String("HostAddress"), Value: aws.String(br.Server.ID())},
{Key: aws.String("HostAlias"), Value: aws.String(br.Server.GetAlias())},
}

switch br.BackupFileS3Path() {
Expand Down

0 comments on commit 6c53e53

Please sign in to comment.