- Backup snapshots can be merged into a single full snapshot.
- Backup snapshots can be individually deleted
- Backup options can be set
ALTER BACKUP Syntax
Parameters
<backup name>
<backup name>
Name of the backup to alter.
<data sink name>
<data sink name>
Name of the data sink used to alter the database backup files
on the remote file store.
MERGE
MERGE
Merges all snapshots of a given backup into a single, full snapshot. An error will be
reported if the backup contains only one full snapshot.
PURGE
PURGE
Deletes the snapshot identified with
backup id. Only applicable to incremental and
differential snapshots.SET
SET
Sets the given list of properties to their given corresponding values.Alterable properties include:
These settings will affect future snapshots of the given backup; existing
snapshots will remain unchanged.
| Property | Description |
|---|---|
CHECKSUM | Whether or not to calculate checksums on backed-up objects. |
DDL_ONLY | Whether or not to only back up DDL for any tables. |
MAX_INCREMENTAL_BACKUPS_TO_KEEP | Maximum number of incremental snapshots to keep. |
WITH OPTIONS
WITH OPTIONS
Optional indicator that a comma-delimited list of alteration option name/value assignments will
follow.Alter options include:
| Option | Description |
|---|---|
COMMENT | A new comment for the backup that is created by a MERGE; only valid for MERGE operations. |
DRY_RUN | Whether or not to execute a dry run of a backup alteration and not actually alter the backup. |
Examples
For example, to merge all snapshots of a backup into a single full snapshot and add a comment to the merged backup:MERGE Backup Example
PURGE Backup Example
5:
SET Backup Properties Example