Skip to main content

BackupLocalSettings

Resource BackupLocalSettings in pulumi-portainer.
2 min read

Resource BackupLocalSettings in pulumi-portainer.

Pulumi type: portainer:index/backupLocalSettings:BackupLocalSettings.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
backupLocalSettingsIdstringno
cronRulestringnoCron expression for the scheduled local backup (for example 0 2 * * *). Leave unset to keep the schedule off and back up only on demand with portainer.BackupLocalRun.
retentionDaysnumbernoHow many days Portainer keeps local backup archives before pruning them. Zero keeps them indefinitely.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
backupLocalSettingsIdstringno
cronRulestringnoCron expression for the scheduled local backup (for example 0 2 * * *). Leave unset to keep the schedule off and back up only on demand with portainer.BackupLocalRun.
lastRunFailedbooleanyesWhether the most recent scheduled local backup failed.
lastRunPathstringyesPath on the Portainer host where the most recent local backup archive was written.
lastRunTimestampstringyesUTC timestamp of the most recent scheduled local backup, empty when none has run.
retentionDaysnumbernoHow many days Portainer keeps local backup archives before pruning them. Zero keeps them indefinitely.