Skip to content

Commit

Permalink
feat: add autoCleanupSnapshotWhenDeleteBackup
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <[email protected]>
  • Loading branch information
FrankYang0529 committed Jun 24, 2024
1 parent fb32bc6 commit 9c0a9b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/docs/1.7.0/references/helm-values.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,3 +265,4 @@ During installation, you can either allow Longhorn to use the default system set
| defaultSettings.v2DataEngineHugepageLimit | Setting that allows you to configure maximum huge page size (in MiB) for the V2 Data Engine. |
| defaultSettings.v2DataEngineLogFlags | Setting that allows you to configure the log flags of the SPDK target daemon (spdk_tgt) of the V2 Data Engine. |
| defaultSettings.v2DataEngineLogLevel | Setting that allows you to configure the log level of the SPDK target daemon (spdk_tgt) of the V2 Data Engine. |
| defaultSettings.autoCleanupSnapshotWhenDeleteBackup | Setting that automatically cleans up the snapshot when the backup is deleted. |
7 changes: 7 additions & 0 deletions content/docs/1.7.0/references/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ weight: 1
- [Backup Compression Method](#backup-compression-method)
- [Backup Concurrent Limit Per Backup](#backup-concurrent-limit-per-backup)
- [Restore Concurrent Limit Per Backup](#restore-concurrent-limit-per-backup)
- [Auto Cleanup Snapshot When Delete Backup](#auto-cleanup-snapshot-when-delete-backup)
- [Scheduling](#scheduling)
- [Allow Volume Creation with Degraded Availability](#allow-volume-creation-with-degraded-availability)
- [Disable Scheduling On Cordoned Node](#disable-scheduling-on-cordoned-node)
Expand Down Expand Up @@ -946,3 +947,9 @@ Longhorn coalesces unnecessary snapshots into their newer counterparts, freeing
Allowing snapshot purging during normal operations is ideal, but this process temporarily consumes additional disk
space. If insufficient disk space prevents the process from continuing, consider temporarily disabling purging while
data is moved to other disks.

#### Auto Cleanup Snapshot When Delete Backup

> Default: `false`
When set to true, the snapshot used by the backup will be automatically cleaned up when the backup is deleted.

0 comments on commit 9c0a9b9

Please sign in to comment.