Skip to content

Commit

Permalink
update stash backup path
Browse files Browse the repository at this point in the history
Signed-off-by: sayedppqq <[email protected]>
  • Loading branch information
sayedppqq committed May 8, 2024
1 parent d3553ae commit 16a8d3e
Show file tree
Hide file tree
Showing 31 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion docs/guides/kafka/concepts/connectcluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ The `spec.tls` contains the following fields:
- `postalCodes` ( `[]string` | `nil` ) - is a list of postal codes.
- `serialNumber` ( `string` | `""` ) is a serial number.

For more details, visit [here](https://golang.org/pkg/crypto/x509/pkix/#Name).
For more details, visit [here](https://pkg.go.dev/crypto/x509/pkix#Name).

- `duration` ( `string` | `""` ) - is the period during which the certificate is valid. A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as `"300m"`, `"1.5h"` or `"20h45m"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
- `renewBefore` ( `string` | `""` ) - is a specifiable time before expiration duration.
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/mongodb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ aliases:
- [Quickstart MongoDB](/docs/guides/mongodb/quickstart/quickstart.md) with KubeDB Operator.
- [MongoDB Replicaset](/docs/guides/mongodb/clustering/replicaset.md) with KubeDB Operator.
- [MongoDB Sharding](/docs/guides/mongodb/clustering/sharding.md) with KubeDB Operator.
- [Backup & Restore](/docs/guides/mongodb/backup/overview/index.md) MongoDB databases using Stash.
- [Backup & Restore](/docs/guides/mongodb/backup/stash/overview/index.md) MongoDB databases using Stash.
- Initialize [MongoDB with Script](/docs/guides/mongodb/initialization/using-script.md).
- Start [MongoDB with Custom Config](/docs/guides/mongodb/configuration/using-config-file.md).
- Monitor your MongoDB database with KubeDB using [out-of-the-box Prometheus operator](/docs/guides/mongodb/monitoring/using-prometheus-operator.md).
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/mongodb/arbiter/replicaset.md
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ kubectl delete ns demo
## Next Steps
- Deploy MongoDB shard [with Arbiter](/docs/guides/mongodb/arbiter/sharding.md).
- [Backup and Restore](/docs/guides/mongodb/backup/overview/index.md) process of MongoDB databases using Stash.
- [Backup and Restore](/docs/guides/mongodb/backup/stash/overview/index.md) process of MongoDB databases using Stash.
- Initialize [MongoDB with Script](/docs/guides/mongodb/initialization/using-script.md).
- Monitor your MongoDB database with KubeDB using [out-of-the-box Prometheus operator](/docs/guides/mongodb/monitoring/using-prometheus-operator.md).
- Monitor your MongoDB database with KubeDB using [out-of-the-box builtin-Prometheus](/docs/guides/mongodb/monitoring/using-builtin-prometheus.md).
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/mongodb/arbiter/sharding.md
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ kubectl delete ns demo
## Next Steps
- [Backup and Restore](/docs/guides/mongodb/backup/overview/index.md) process of MongoDB databases using Stash.
- [Backup and Restore](/docs/guides/mongodb/backup/stash/overview/index.md) process of MongoDB databases using Stash.
- Initialize [MongoDB with Script](/docs/guides/mongodb/initialization/using-script.md).
- Monitor your MongoDB database with KubeDB using [out-of-the-box Prometheus operator](/docs/guides/mongodb/monitoring/using-prometheus-operator.md).
- Monitor your MongoDB database with KubeDB using [out-of-the-box builtin-Prometheus](/docs/guides/mongodb/monitoring/using-builtin-prometheus.md).
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/mongodb/backup/kubestash/auto-backup/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ In this tutorial, we are going to show how you can configure a backup blueprint
## Before You Begin

- At first, you need to have a Kubernetes cluster, and the `kubectl` command-line tool must be configured to communicate with your cluster.
- Install KubeStash Enterprise in your cluster following the steps [here](https://stash.run/docs/latest/setup/install/enterprise/).
- Install KubeStash Enterprise in your cluster following the steps [here](https://stash.run/docs/latest/setup/install/stash/).
- Install KubeDB in your cluster following the steps [here](/docs/setup/README.md).
- If you are not familiar with how Stash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/overview/index.md).
- If you are not familiar with how Stash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/stash/overview/index.md).
- If you are not familiar with how auto-backup works in Stash, please check the following guide [here](https://stash.run/docs/latest/guides/auto-backup/overview/).
- If you are not familiar with the available auto-backup options for databases in Stash, please check the following guide [here](https://stash.run/docs/latest/guides/auto-backup/database/).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ KubeStash v0.1.0+ supports backup and restoration of MongoDB databases. This gui
- Install KubeDB in your cluster following the steps [here](/docs/setup/README.md).
- Install KubeStash Enterprise in your cluster following the steps [here(link needed)]().
- Install KubeStash `kubectl` plugin following the steps [here(link needed)]().
- If you are not familiar with how KubeStash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/kubestash/overview/index.md).
- If you are not familiar with how KubeStash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/kubestash/overview/_index.md).

You have to be familiar with following custom resources:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ KubeStash v0.1.0+ supports backup and restoration of MongoDB databases. This gui
- Install KubeDB in your cluster following the steps [here](/docs/setup/README.md).
- Install KubeStash Enterprise in your cluster following the steps [here(link needed)]().
- Install KubeStash `kubectl` plugin following the steps [here(link needed)]().
- If you are not familiar with how KubeStash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/kubestash/overview/index.md).
- If you are not familiar with how KubeStash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/kubestash/overview/_index.md).

You have to be familiar with following custom resources:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ KubeStash v0.1.0+ supports backup and restoration of MongoDB databases. This gui
- Install KubeDB in your cluster following the steps [here](/docs/setup/README.md).
- Install KubeStash Enterprise in your cluster following the steps [here(link needed)]().
- Install KubeStash `kubectl` plugin following the steps [here(link needed)]().
- If you are not familiar with how KubeStash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/kubestash/overview/index.md).
- If you are not familiar with how KubeStash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/kubestash/overview/_index.md).

You have to be familiar with following custom resources:

Expand Down
18 changes: 9 additions & 9 deletions docs/guides/mongodb/backup/kubestash/overview/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ For MongoDB ReplicaSet cluster, KubeStash takes backup from one of the secondary
4. Unlock the secondary replica.

<figure align="center">
<img alt="MongoDB ReplicaSet Cluster Backup Overview" src="/docs/guides/mongodb/backup/overview/images/replicaset_backup.svg">
<img alt="MongoDB ReplicaSet Cluster Backup Overview" src="/docs/guides/mongodb/backup/stash/overview/images/replicaset_backup.svg">
<figcaption align="center">Fig: MongoDB ReplicaSet Cluster Backup</figcaption>
</figure>

Expand All @@ -95,7 +95,7 @@ For MongoDB sharded cluster, KubeStash takes backup of the individual shards as
8. Enable balancer.

<figure align="center">
<img alt="MongoDB Sharded Cluster Backup Overview" src="/docs/guides/mongodb/backup/overview/images/sharded_backup.svg">
<img alt="MongoDB Sharded Cluster Backup Overview" src="/docs/guides/mongodb/backup/stash/overview/images/sharded_backup.svg">
<figcaption align="center">Fig: MongoDB Sharded Cluster Backup</figcaption>
</figure>

Expand All @@ -104,7 +104,7 @@ For MongoDB sharded cluster, KubeStash takes backup of the individual shards as
The following diagram shows how KubeStash restores backed up data into a MongoDB database. Open the image in a new tab to see the enlarged version.

<figure align="center">
<img alt="Database Restore Overview" src="/docs/guides/mongodb/backup/overview/images/restore_overview.svg">
<img alt="Database Restore Overview" src="/docs/guides/mongodb/backup/stash/overview/images/restore_overview.svg">
<figcaption align="center">Fig: MongoDB Restore Process Overview</figcaption>
</figure>

Expand Down Expand Up @@ -133,7 +133,7 @@ This section will show you restore process works for different MongoDB configura
For a standalone MongoDB database, the restore job downloads the backed up data from the backend and pipe the downloaded data to `mongorestore` command which inserts the data into the desired MongoDB database.

<figure align="center">
<img alt="Standalone MongoDB Restore Overview" src="/docs/guides/mongodb/backup/overview/images/standalone_restore.svg">
<img alt="Standalone MongoDB Restore Overview" src="/docs/guides/mongodb/backup/stash/overview/images/standalone_restore.svg">
<figcaption align="center">Fig: Standalone MongoDB Restore</figcaption>
</figure>

Expand All @@ -142,7 +142,7 @@ For a standalone MongoDB database, the restore job downloads the backed up data
For MongoDB ReplicaSet cluster, KubeStash identifies the primary replica and restore into it.

<figure align="center">
<img alt="MongoDB ReplicaSet Cluster Restore Overview" src="/docs/guides/mongodb/backup/overview/images/replicaset_restore.svg">
<img alt="MongoDB ReplicaSet Cluster Restore Overview" src="/docs/guides/mongodb/backup/stash/overview/images/replicaset_restore.svg">
<figcaption align="center">Fig: MongoDB ReplicaSet Cluster Restore</figcaption>
</figure>

Expand All @@ -151,14 +151,14 @@ For MongoDB ReplicaSet cluster, KubeStash identifies the primary replica and res
For MongoDB sharded cluster, KubeStash identifies the primary replica of each shard as well as the config server and restore respective backed up data into them.

<figure align="center">
<img alt="MongoDB Sharded Cluster Restore" src="/docs/guides/mongodb/backup/overview/images/sharded_restore.svg">
<img alt="MongoDB Sharded Cluster Restore" src="/docs/guides/mongodb/backup/stash/overview/images/sharded_restore.svg">
<figcaption align="center">Fig: MongoDB Sharded Cluster Restore</figcaption>
</figure>

## Next Steps

- Backup a standalone MongoDB databases using Stash following the guide from [here](/docs/guides/mongodb/backup/kubestash/logical/standalone/index.md).
- Backup a MongoDB Replicaset cluster using Stash following the guide from [here](/docs/guides/mongodb/backup/kubestash/logical/replicaset/index.md).
- Backup a sharded MongoDB cluster using Stash following the guide from [here](/docs/guides/mongodb/backup/kubestash/logical/sharding/index.md).
- Backup a standalone MongoDB databases using KubeStash following the guide from [here](/docs/guides/mongodb/backup/kubestash/logical/standalone/_index.md).
- Backup a MongoDB Replicaset cluster using Stash following the guide from [here](/docs/guides/mongodb/backup/kubestash/logical/replicaset/_index.md).
- Backup a sharded MongoDB cluster using KubeStash following the guide from [here](/docs/guides/mongodb/backup/kubestash/logical/sharding/_index.md).


8 changes: 4 additions & 4 deletions docs/guides/mongodb/backup/stash/auto-backup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ In this tutorial, we are going to show how you can configure a backup blueprint
- At first, you need to have a Kubernetes cluster, and the `kubectl` command-line tool must be configured to communicate with your cluster.
- Install Stash in your cluster following the steps [here](https://stash.run/docs/latest/setup/install/stash/).
- Install KubeDB in your cluster following the steps [here](/docs/setup/README.md).
- If you are not familiar with how Stash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/overview/index.md).
- If you are not familiar with how Stash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/stash/overview/index.md).
- If you are not familiar with how auto-backup works in Stash, please check the following guide [here](https://stash.run/docs/latest/guides/auto-backup/overview/).
- If you are not familiar with the available auto-backup options for databases in Stash, please check the following guide [here](https://stash.run/docs/latest/guides/auto-backup/database/).

Expand Down Expand Up @@ -295,7 +295,7 @@ app-sample-mongodb-1643781603 BackupConfiguration app-sample-mongodb Succe
Once the backup has been completed successfully, you should see the backed up data has been stored in the bucket at the directory pointed by the `prefix` field of the `Repository`.

<figure align="center">
<img alt="Backup data in GCS Bucket" src="/docs/guides/mongodb/backup/auto-backup/images/sample-mongodb.png">
<img alt="Backup data in GCS Bucket" src="/docs/guides/mongodb/backup/stash/auto-backup/images/sample-mongodb.png">
<figcaption align="center">Fig: Backup data in GCS Bucket</figcaption>
</figure>

Expand Down Expand Up @@ -481,7 +481,7 @@ app-sample-mongodb-2-1643782861 BackupConfiguration app-sample-mongodb-2 S
Once the backup has been completed successfully, you should see that Stash has created a new directory as pointed by the `prefix` field of the new `Repository` and stored the backed up data there.

<figure align="center">
<img alt="Backup data in GCS Bucket" src="/docs/guides/mongodb/backup/auto-backup/images/sample-mongodb-2.png">
<img alt="Backup data in GCS Bucket" src="/docs/guides/mongodb/backup/stash/auto-backup/images/sample-mongodb-2.png">
<figcaption align="center">Fig: Backup data in GCS Bucket</figcaption>
</figure>

Expand Down Expand Up @@ -671,7 +671,7 @@ app-sample-mongodb-3-1643792101 BackupConfiguration app-sample-mongodb-3 S
Once the backup has been completed successfully, you should see that Stash has created a new directory as pointed by the `prefix` field of the new `Repository` and stored the backed up data there.

<figure align="center">
<img alt="Backup data in GCS Bucket" src="/docs/guides/mongodb/backup/auto-backup/images/sample-mongodb-3.png">
<img alt="Backup data in GCS Bucket" src="/docs/guides/mongodb/backup/stash/auto-backup/images/sample-mongodb-3.png">
<figcaption align="center">Fig: Backup data in GCS Bucket</figcaption>
</figure>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Stash supports taking [backup and restores MongoDB ReplicaSet clusters in "idiom
- Install KubeDB in your cluster following the steps [here](/docs/setup/README.md).
- Install Stash in your cluster following the steps [here](https://stash.run/docs/latest/setup/install/stash/).
- Install Stash `kubectl` plugin following the steps [here](https://stash.run/docs/latest/setup/install/kubectl-plugin/).
- If you are not familiar with how Stash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/overview/index.md).
- If you are not familiar with how Stash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/stash/overview/index.md).

You have to be familiar with following custom resources:

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/mongodb/backup/stash/logical/sharding/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Stash 0.9.0+ supports taking [backup](https://docs.mongodb.com/manual/tutorial/b
- Install KubeDB in your cluster following the steps [here](/docs/setup/README.md).
- Install Stash in your cluster following the steps [here](https://stash.run/docs/latest/setup/install/stash/).
- Install Stash `kubectl` plugin following the steps [here](https://stash.run/docs/latest/setup/install/kubectl-plugin/).
- If you are not familiar with how Stash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/overview/index.md).
- If you are not familiar with how Stash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/stash/overview/index.md).

You have to be familiar with following custom resources:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Stash 0.9.0+ supports backup and restoration of MongoDB databases. This guide wi
- Install KubeDB in your cluster following the steps [here](/docs/setup/README.md).
- Install Stash in your cluster following the steps [here](https://stash.run/docs/latest/setup/install/stash/).
- Install Stash `kubectl` plugin following the steps [here](https://stash.run/docs/latest/setup/install/kubectl-plugin/).
- If you are not familiar with how Stash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/overview/index.md).
- If you are not familiar with how Stash backup and restore MongoDB databases, please check the following guide [here](/docs/guides/mongodb/backup/stash/overview/index.md).

You have to be familiar with following custom resources:

Expand Down
Loading

0 comments on commit 16a8d3e

Please sign in to comment.