Global InfraGlobal Infra Cloud
Backup

Filesystem Save Set

Terraform reference for Filesystem Save Set.

Schema Properties

PropertyTypeDescription
location
Computed
objectWhere the backups are stored.
name
RequiredForceNew
stringName of the save set.
Examples:app-logs
paths
Required
list(string)The list of paths to backup.
Examples:["/var/log","/etc"]
resource_id
RequiredForceNew
stringThe ID of the resource this save set applies to, typically a server hostname. This server should exists in the inventory and be registered with the backup service.
Examples:cvtest0252e2.csbackup.sb.eu.ginfra.net
retention
RequiredForceNew
integerNumber of days of retention.
Examples:7
schedule
RequiredForceNew
objectWhen the backups run.
status
Computed
stringWhether the scheduled backups for this save set are enabled or disabled.
resource "gi_backup_filesystem_save_set" "0" {  attributes = {    description = "Back up application logs daily at 22:30, kept for 7 days."    name        = "Daily backup"    value       = {  name = "app-logs"  paths = ["/var/log", "/etc"]  resource_id = "myserver01"  retention = 7  schedule = {    frequency = "daily"    hour = 22    minute = 30  }}  }}

Usage Notes