[SDK reference](../../index.md) / [Models](../index.md) / [Databases](index.md)

# ValkeyBackupPolicy

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Databases`  

How often an instance is backed up and how many backups are kept.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Enabled` | `bool?` | `enabled` | The enabled property |
| `IntervalHours` | `int?` | `intervalHours` | Hours between backups, 1 to 168. |
| `LastRunAt` | `DateTimeOffset?` | `lastRunAt` | The lastRunAt property |
| `NextRunAt` | `DateTimeOffset?` | `nextRunAt` | The nextRunAt property |
| `RetentionCount` | `int?` | `retentionCount` | Scheduled backups kept, 1 to 30; manual backups are kept until deleted. |
