From 5e54b2accd37934e7bcce6451bd7113fd30edd09 Mon Sep 17 00:00:00 2001 From: Gerrit Date: Tue, 22 Aug 2023 15:17:40 +0200 Subject: [PATCH] Update doc image. --- README.md | 4 +- docs/sequence.drawio | 297 ------------------ docs/sequence.drawio.svg | 657 +++++++++++++++++++++++++++++++++++++++ docs/sequence.png | 3 - 4 files changed, 659 insertions(+), 302 deletions(-) delete mode 100644 docs/sequence.drawio create mode 100644 docs/sequence.drawio.svg delete mode 100644 docs/sequence.png diff --git a/README.md b/README.md index 3d00099..ba889d4 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Probably, it does not make sense to use this project with large databases. Howev | rethinkdb | >= 2.4.0 | beta | no | | ETCD | >= 3.5 | alpha | no | -## Database upgrades +## Database Upgrades ### Postgres @@ -42,7 +42,7 @@ With `--compression-method` you can define how generated backups are compressed ## How it works -![Sequence Diagram](docs/sequence.png) +![Sequence Diagram](docs/sequence.drawio.svg) ## Limitations diff --git a/docs/sequence.drawio b/docs/sequence.drawio deleted file mode 100644 index f3936d8..0000000 --- a/docs/sequence.drawio +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/sequence.drawio.svg b/docs/sequence.drawio.svg new file mode 100644 index 0000000..6c39927 --- /dev/null +++ b/docs/sequence.drawio.svg @@ -0,0 +1,657 @@ + + + + + + + + + + + Sidecar Container + + + + + + + + +
+
+
+ Sidecar start cmd +
+
+
+
+ + Sidecar start cmd + +
+
+ + + + + +
+
+
+ find latest backup +
+
+
+
+ + find latest backup + +
+
+ + + + + +
+
+
+ start server +
+ (status endpoint) +
+
+
+
+ + start server... + +
+
+ + + + + +
+
+
+ uncompress backup archive +
+ and restore database +
+
+
+
+ + uncompress backup archive... + +
+
+ + + + + + +
+
+
+ Init Container +
+
+
+
+ + Init Container + +
+
+ + + + + + +
+
+
+ Sidecar wait cmd +
+
+
+
+ + Sidecar wait cmd + +
+
+ + + + + + +
+
+
+ provide binaries via empty dir +
+
+
+
+ + provide binaries via empty dir + +
+
+ + + + + +
+
+
+ Contains sidecar +
+ binary +
+
+
+
+ + Contains sidecar... + +
+
+ + + + + +
+
+
+ checks if database +
+ needs to be restored +
+
+
+
+ + checks if database... + +
+
+ + + + +
+
+
+ possible restore +
+
+
+
+ + possible restore + +
+
+ + + + + +
+
+
+ Backup Provider +
+
+
+
+ + Backup Provider + +
+
+ + + + + + +
+
+
+ backup version +
+
+
+
+ + backup version + +
+
+ + + + + +
+
+
+ download backup version +
+
+
+
+ + download backup version + +
+
+ + + + + +
+
+
+ backup archive +
+
+
+
+ + backup archive + +
+
+ + + + + + + Database Container + + + + + + + +
+
+
+ Sidecar injected +
+ via entrypoint +
+
+
+
+ + Sidecar injected... + +
+
+ + + + + +
+
+
+ status done +
+
+
+
+ + status done + +
+
+ + + + + +
+
+
+ probe +
+
+
+
+ + probe + +
+
+ + + + + +
+
+
+ client port open +
+
+
+
+ + client port open + +
+
+ + + + + +
+
+
+ take backups periodically +
+
+
+
+ + take backups periodically + +
+
+ + + + + +
+
+
+ compress to +
+ backup archive +
+
+
+
+ + compress to... + +
+
+ + + + + +
+
+
+ upload backup +
+
+
+
+ + upload backup + +
+
+ + + + + + +
+
+
+ initializer status +
+
+
+
+ + initializer status + +
+
+ + + + + +
+
+
+ initializer status +
+
+
+
+ + initializer status + +
+
+ + + + + +
+
+
+ initializer status +
+
+
+
+ + initializer status + +
+
+ + + + + +
+
+
+ status checking +
+
+
+
+ + status checking + +
+
+ + + + + +
+
+
+ initializer status +
+
+
+
+ + initializer status + +
+
+ + + +
+
+
+ [ no data or data inconsistent ] +
+
+
+
+ + [ no data or data inconsistent ] + +
+
+ + + + + +
+
+
+ status restoring +
+
+
+
+ + status restoring + +
+
+ + + + + +
+
+
+ Database +
+
+
+
+ + Database + +
+
+ + + +
+
+
+ Database Pod +
+
+
+
+ + Database Pod + +
+
+ + + + + +
+
+
+ possible upgrade +
+
+
+
+ + possible upgrade + +
+
+ + + + + +
+
+
+ upgrade database +
+
+
+
+ + upgrade database + +
+
+ + + + + +
+
+
+ [ database image updated  ] +
+
+
+
+ + [ database image updated  ] + +
+
+ + + + + +
+
+
+ start +
+
+
+
+ + start + +
+
+
+ + + + + Text is not SVG - cannot display + + + +
diff --git a/docs/sequence.png b/docs/sequence.png deleted file mode 100644 index c61ef1c..0000000 --- a/docs/sequence.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:34f94f74c5fc184bc20c4046a498623f34a4adfd3f8acb634bb5d4daa5245dab -size 128206