Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
Signed-off-by: SK Ali Arman <[email protected]>
  • Loading branch information
sheikh-arman committed Sep 19, 2024
1 parent ed7bba4 commit 9b47921
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/guides/mariadb/backup/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Backup & Restore MariaDB
menu:
docs_{{ .version }}:
identifier: guides-mariadb-backup-stash
identifier: guides-mariadb-backup
name: Backup & Restore
parent: guides-mariadb
weight: 70
Expand Down
8 changes: 4 additions & 4 deletions docs/guides/mariadb/backup/kubestash/logical/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ section_menu_id: guides

# Backup and Restore MariaDB database using KubeStash

KubeStash allows you to backup and restore `MariaDB` databases. It supports backups for `MariaDB` instances running in Standalone, and HA cluster configurations. KubeStash makes managing your `MariaDB` backups and restorations more straightforward and efficient.
KubeStash allows you to backup and restore `MariaDB` databases. It supports backups for `MariaDB` instances running in Standalone, and Galera cluster configurations. KubeStash makes managing your `MariaDB` backups and restorations more straightforward and efficient.

This guide will give you an overview how you can take backup and restore your `MariaDB` databases using `Kubestash`.

Expand Down Expand Up @@ -106,8 +106,8 @@ sample-mariadb-auth kubernetes.io/basic-auth 2 5m49s
$ kubectl get service -n demo -l=app.kubernetes.io/instance=sample-mariadb
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
sample-mariadb ClusterIP 10.128.7.155 <none> 3306/TCP 6m28s
sample-mariadb-pods ClusterIP None <none> 3306/TCP 6m28s 5432/TCP 5m55s
sample-mariadb ClusterIP 10.128.7.155 <none> 3306/TCP 6m28s
sample-mariadb-pods ClusterIP None <none> 3306/TCP 6m28s
```

Here, we have to use service `sample-mariadb` and secret `sample-mariadb-auth` to connect with the database. `KubeDB` creates an [AppBinding](/docs/guides/mariadb/concepts/appbinding/index.md) CR that holds the necessary information to connect with the database.
Expand Down Expand Up @@ -544,7 +544,7 @@ status:

> KubeStash uses `mariadb-dump` to perform backups of target `MariaDB` databases. Therefore, the component name for logical backups is set as `dump`.

Now, if we navigate to the GCS bucket, we will see the backed up data stored in the `demo/popstgres/repository/v1/frequent-backup/dump` directory. KubeStash also keeps the backup for `Snapshot` YAMLs, which can be found in the `demo/mariadb/snapshots` directory.
Now, if we navigate to the GCS bucket, we will see the backed up data stored in the `demo/mariadb/repository/v1/frequent-backup/dump` directory. KubeStash also keeps the backup for `Snapshot` YAMLs, which can be found in the `demo/mariadb/snapshots` directory.

> Note: KubeStash stores all dumped data encrypted in the backup directory, meaning it remains unreadable until decrypted.

Expand Down
10 changes: 10 additions & 0 deletions docs/guides/mariadb/backup/stash/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Backup & Restore MariaDB | Stash
menu:
docs_{{ .version }}:
identifier: guides-mariadb-backup-stashv1
name: Stash
parent: guides-mariadb-backup
weight: 50
menu_name: docs_{{ .version }}
---
4 changes: 2 additions & 2 deletions docs/guides/mariadb/backup/stash/auto-backup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ title: MariaDB Auto-Backup | Stash
description: Backup MariaDB using Stash Auto-Backup
menu:
docs_{{ .version }}:
identifier: guides-mariadb-backup-auto-backup-stash
identifier: guides-mariadb-backup-auto-backup-stashv1
name: Auto-Backup
parent: guides-mariadb-backup-stash
parent: guides-mariadb-backup-stashv1
weight: 30
menu_name: docs_{{ .version }}
section_menu_id: guides
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/mariadb/backup/stash/customization/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ title: MariaDB Backup Customization | Stash
description: Customizing MariaDB Backup and Restore process with Stash
menu:
docs_{{ .version }}:
identifier: guides-mariadb-backup-customization-stash
identifier: guides-mariadb-backup-customization-stashv1
name: Customizing Backup & Restore Process
parent: guides-mariadb-backup-stash
parent: guides-mariadb-backup-stashv1
weight: 40
menu_name: docs_{{ .version }}
section_menu_id: guides
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/mariadb/backup/stash/logical/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title: Logical Backup of MariaDB Using Stash
menu:
docs_{{ .version }}:
identifier: guides-mariadb-backup-logical-stash
identifier: guides-mariadb-backup-logical-stashv1
name: Logical Backup
parent: guides-mariadb-backup-stash
parent: guides-mariadb-backup-stashv1
weight: 20
menu_name: docs_{{ .version }}
---
4 changes: 2 additions & 2 deletions docs/guides/mariadb/backup/stash/overview/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title: Backup & Restore MariaDB Using Stash
menu:
docs_{{ .version }}:
identifier: guides-mariadb-backup-overview-stash
identifier: guides-mariadb-backup-overview-stashv1
name: Overview
parent: guides-mariadb-backup-stash
parent: guides-mariadb-backup-stashv1
weight: 10
menu_name: docs_{{ .version }}
section_menu_id: guides
Expand Down

0 comments on commit 9b47921

Please sign in to comment.