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
Adjust the port numbers accordingly for other clones, following the pattern `original_port+3000` (e.g., `6001->9001`, `6002->9002`, etc.).
52
+
53
+
## Alternative: Teleport integration
54
+
55
+
For zero-trust access control with audit logging, certificate-based authentication, and role-based access, consider using [Teleport integration](/docs/dblab-howtos/administration/teleport-integration) (DBLab Engine 4.1+).
Copy file name to clipboardExpand all lines: docs/dblab-howtos/administration/logical-full-refresh.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,29 @@ Note, that the process described here requires a maintenance window (brief perio
11
11
12
12
If you are using the "physical" provisioning mode, read [how to configure the "sync" instance](/docs/dblab-howtos/administration/postgresql-configuration#the-sync-instance) instead.
13
13
14
-
## Refresh data from source
14
+
## Triggering a full refresh via CLI or API (DBLab Engine 4.0+)
15
+
16
+
If you have multiple pools (disks) configured, you can trigger a full refresh without downtime using the CLI or API. DBLab Engine will refresh data on an inactive pool while clones continue to run on the active pool.
17
+
18
+
**CLI:**
19
+
```bash
20
+
dblab instance full-refresh
21
+
```
22
+
23
+
**API:**
24
+
```bash
25
+
curl -X POST -H "Verification-Token: YOUR_TOKEN" http://localhost:2345/full-refresh
26
+
```
27
+
28
+
:::tip
29
+
A scheduled full refresh can also be configured using the `retrieval.refresh.timetable` option in `server.yml` (crontab format).
30
+
:::
31
+
32
+
## Manual refresh (single disk)
33
+
34
+
The process described below requires a maintenance window and deletes existing clones.
35
+
36
+
### Refresh data from source
15
37
### 1. Cleanup
16
38
Stop and remove the existing containers, then clean up the data directory and destroy the pool:
Starting with DBLab Engine 4.1, the default `pg_hba.conf` includes a `hostssl ... cert` rule that enables Teleport certificate authentication out of the box:
117
134
@@ -123,6 +140,29 @@ host all all 0.0.0.0/0 md5
123
140
124
141
No custom `pg_hba.conf` or volume mount is required for Teleport.
125
142
143
+
### 7. Volume mounting for certs
144
+
145
+
Clone containers only inherit DBLab Engine container volumes whose source is under `poolManager.mountDir`. For SSL certs stored outside the pool, use `containerConfig`:
You can make clone protected during the creation or later (if needed). Please be careful: abandoned protected clones may cause out-of-disk-space events. Read the details [here](/docs/dblab-howtos/cloning/clone-protection).
108
+
You can make a clone protected during creation or later. Please be careful: abandoned protected clones may cause out-of-disk-space events. Read the details [here](/docs/dblab-howtos/cloning/clone-protection).
Copy file name to clipboardExpand all lines: docs/dblab-howtos/cloning/destroy-clone.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ DBLab Engine automatically deletes idle unprotected clones after the idle interv
8
8
:::
9
9
10
10
:::info
11
-
The protected clone could not be deleted automatically or manually. In order to delete the clone, you would need to [unprotect it](/docs/dblab-howtos/cloning/clone-protection).
11
+
A protected clone cannot be deleted automatically or manually. To delete it, first [remove protection](/docs/dblab-howtos/cloning/clone-protection). With protection leases (DBLab Engine 4.1+), protection expires automatically after the configured duration.
12
12
:::
13
13
14
14
## GUI
@@ -31,6 +31,12 @@ dblab clone destroy CLONE_ID
31
31
The clone has been successfully destroyed: CLONE_ID
32
32
```
33
33
34
+
### Destroy a clone asynchronously
35
+
For long-running operations, use the `--async` flag:
36
+
```bash
37
+
dblab clone destroy --async CLONE_ID
38
+
```
39
+
34
40
## Related
35
41
- Guide: [Clone protection from manual and automatic deletion](/docs/dblab-howtos/cloning/clone-protection)
36
42
- Guide: [Resetting a clone state](/docs/dblab-howtos/cloning/reset-clone)
0 commit comments