Skip to content

How can I set more PGBACKREST parameters ? #7

@fguiet

Description

@fguiet

Hi again,

I do not understand how can I set more PGBACKREST parameters

like for instance PGBACKREST_repo1-retention-full=3

Moreover accorging to pgBackRest configuration I should see a warning if retention-full is not set

Full backup retention count/time.
When a full backup expires, all differential and incremental backups associated with the full backup will also expire. When the option is not defined a >warning will be issued. If indefinite retention is desired then set the option to the max value.

Env parameters seems to be fixed in the code lifecycle.go, only the following can be set

envPgbackrest := []corev1.EnvVar{
		{Name: "PGBACKREST_repo1-path", Value: pluginConfig.S3RepoPath},
		{Name: "PGBACKREST_repo1-s3-bucket", Value: pluginConfig.S3Bucket},
		{Name: "PGBACKREST_repo1-s3-endpoint", Value: pluginConfig.S3Endpoint},
		{Name: "PGBACKREST_repo1-s3-region", Value: pluginConfig.S3Region},
		{Name: "PGBACKREST_stanza", Value: pluginConfig.S3Stanza},
	}

Thank You
frederic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions