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
@@ -38,11 +42,30 @@ This should show your available backups
38
42
YYYY-MM-DDTHH:MM:SSZ | physical | finished
39
43
```
40
44
45
+
## Point-in-time recovery
46
+
47
+
Point-in-time recovery (PITR) is a MySQL feature that enables restorations to the database state at specific points in time. The feature is enabled by default when there's a working relation with S3 storage.
48
+
49
+
41
50
## Restore backup
42
51
43
52
To restore a backup from that list, run the `restore` command and pass the `backup-id` to restore:
44
53
```shell
45
54
juju run mysql/leader restore backup-id=YYYY-MM-DDTHH:MM:SSZ
46
55
```
47
56
48
-
Your restore will then be in progress.
57
+
Your restore will then be in progress.
58
+
59
+
However, if the user needs to restore to a specific point in time between different backups (e.g. to restore only specific transactions made between those backups), they can use the restore-to-time parameter to pass a timestamp related to the moment they want to restore.
60
+
61
+
```shell
62
+
juju run mysql/leader restore restore-to-time="YYYY-MM-DD HH:MM:SS"
63
+
```
64
+
65
+
Your restore will then be in progress.
66
+
67
+
It’s also possible to restore to the latest point from a specific timeline by passing the ID of a backup taken on that timeline and restore-to-time=latest when requesting a restore:
68
+
69
+
```shell
70
+
juju run mysql/leader restore restore-to-time=latest
Copy file name to clipboardExpand all lines: docs/reference/r-releases.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ For a given release, this table shows:
16
16
17
17
| Release | MySQL version | Juju version |[TLS encryption](/t/9898)*|[COS monitoring](/t/9900)|[Minor version upgrades](/t/11748)|[Cross-regional async replication](/t/14169)|
@@ -34,14 +35,22 @@ Several [revisions](https://juju.is/docs/sdk/revision) are released simultaneous
34
35
> If you deploy a specific revision, **you must make sure it matches your base and architecture** via the tables below or with [`juju info`](https://juju.is/docs/juju/juju-info)
35
36
36
37
38
+
### Release 366-367
39
+
40
+
| Revision | amd64 | arm64 | Ubuntu 22.04 LTS
41
+
|:--------:|:-----:|:-----:|:-----:|
42
+
|[366]|![check]||![check]|
43
+
|[367]||![check]|![check]|
44
+
45
+
[details=Older releases]
46
+
37
47
### Release 312-313
38
48
39
49
| Revision | amd64 | arm64 | Ubuntu 22.04 LTS
40
50
|:--------:|:-----:|:-----:|:-----:|
41
51
|[313]|![check]||![check]|
42
52
|[312]||![check]|![check]|
43
53
44
-
[details=Older releases]
45
54
46
55
### Release 240
47
56
@@ -69,6 +78,8 @@ Several [revisions](https://juju.is/docs/sdk/revision) are released simultaneous
0 commit comments