> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# alter_backup_request

> alter_backup_request — Kinetica Rust API

[gpudb\_api](https://docs.kinetica.com/content/api/rust/index.md)::<wbr />[generated](https://docs.kinetica.com/content/api/rust/generated/index.md)::<wbr />[api](https://docs.kinetica.com/content/api/rust/generated/api/index.md)::<wbr />[constants](https://docs.kinetica.com/content/api/rust/generated/api/constants/index.md)
[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L25932)&#x20;

Constants for the fields of the `/alter/backup` request.

## Option fields

### `action`

Constants for `action`.

`pub const CHECKSUM: &str = "checksum";`

Calculate checksum for backed-up files.

`pub const DDL_ONLY: &str = "ddl_only";`

Whether or not to only save DDL and not back up table data, when taking future snapshots; set `value` to ‘true’ or ‘false’ for DDL only or DDL and table data, respectively.

`pub const MAX_INCREMENTAL_BACKUPS_TO_KEEP: &str = "max_incremental_backups_to_keep";`

Maximum number of incremental snapshots to keep, when taking future snapshots; set `value` to the number of snapshots to keep.

`pub const MERGE: &str = "merge";`

Merges all snapshots within a backup and creates a single full snapshot.

`pub const PURGE: &str = "purge";`

Deletes a snapshot from a backup; set `value` to the snapshot ID to purge.

### `options`

Constants for `options`.

`pub const COMMENT: &str = "comment";`

Comments to store with the backup.

`pub const DRY_RUN: &str = "dry_run";`

Whether or not to perform a dry run of a backup alteration.

`pub const FALSE: &str = "false";`

`pub const TRUE: &str = "true";`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.