You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/reference/storage_linstor.md
+4
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,9 @@ Restoring from older snapshots
57
57
This method makes it possible to confirm whether a specific snapshot contains what you need.
58
58
After determining the correct snapshot, you can {ref}`remove the newer snapshots <storage-edit-snapshots>` so that the snapshot you need is the latest one and you can restore it.
59
59
60
+
Alternatively, you can configure Incus to automatically discard the newer snapshots during restore.
61
+
To do so, set the [`linstor.remove_snapshots`](storage-linstor-vol-config) configuration for the volume (or the corresponding `volume.linstor.remove_snapshots` configuration on the storage pool for all volumes in the pool).
62
+
60
63
## Configuration options
61
64
62
65
The following configuration options are available for storage pools that use the `linstor` driver and for storage volumes in these pools.
@@ -96,6 +99,7 @@ Key | Type | Condition
96
99
`drbd.on_no_quorum` | string | | - | The DRBD policy to use on resources when quorum is lost (applied to the resource definition)
97
100
`drbd.auto_diskful` | string | | - | A duration string describing the time after which a primary diskless resource can be converted to diskful if storage is available on the node (applied to the resource definition)
98
101
`drbd.auto_add_quorum_tiebreaker` | bool | | `true` | Whether to allow LINSTOR to automatically create diskless resources to act as quorum tiebreakers if needed (applied to the resource definition)
102
+
`linstor.remove_snapshots` | bool | | same as `volume.zfs.remove_snapshots` or `false` | Remove snapshots as needed
0 commit comments