Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Update backup-restore docs #529

Closed
wants to merge 1 commit into from
Closed

Conversation

deniseschannon
Copy link
Contributor

Content Description

Preview Link

Internal Reference

Closes DOC-

@deniseschannon deniseschannon requested a review from a team as a code owner March 17, 2025 23:29
@deniseschannon deniseschannon changed the title Update backup-restore docs WIP: Update backup-restore docs Mar 17, 2025
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Google.Headings] 'Using Velero' should use sentence-style capitalization.

:::

The easiest and recommended way to backup the etcd datastore of a vCluster is through the CLI. When using the CLI, vCluster creates a new pod to save the snapshot to the specified location. vCluster automatically determines the configured backing store. The following information is snapshotted:
The recommended way to back up the etcd datastore of a vCluster is through the CLI. When using the CLI, vCluster creates a new pod to save the snapshot to the specified location. vCluster automatically determines the configured backing store. The following information is snapshotted:
* Backing store data (e.g. etcd, sqlite)
* vCluster helm release information
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Loft.capitalize-helm-project] 'Helm' should be capitalized when referring to the project.

* Backing store data (e.g. etcd, sqlite)
* vCluster helm release information
* vCluster configuration (e.g. vcluster.yaml)

:::info
Currently the vCluster CLI backup method does not support backing up persistent volumes. If you require that please take a look at the velero backup method below.
Currently the vCluster CLI backup method does not support backing up persistent volumes. If you are using persistent volumes in your virtual cluster, use the velero backup method below.
:::

### Snapshot URL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Google.Headings] 'Snapshot URL' should use sentence-style capitalization.

@@ -46,32 +46,53 @@ vcluster snapshot my-vcluster "oci://ghcr.io/my-user/my-repo:my-tag"

#### oci
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Google.Headings] 'oci' should use sentence-style capitalization.

vcluster snapshot my-vcluster "oci://ghcr.io/my-user/my-repo:my-tag"
```

Alternative Options: Pass credentials as URL parameters.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Google.Colons] ': P' should be in lowercase.

vcluster snapshot my-vcluster "oci://ghcr.io/my-user/my-repo:my-tag"
export OCI_USERNAME=my-username
export OCI_PASSWORD=$(echo -n "my-password" | base64)
vcluster snapshot my-vcluster "oci://ghcr.io/my-user/my-repo:my-tag?username=$OCI_USERNAME&password=$OCI_PASSWORD&skip-client-credentials=true"
```

#### s3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Google.Headings] 's3' should use sentence-style capitalization.

vcluster snapshot my-vcluster "s3://my-s3-bucket/my-bucket-key"
```

Alternative Options: Pass credentials as URL parameters.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Google.Colons] ': P' should be in lowercase.

Copy link

netlify bot commented Mar 17, 2025

Deploy Preview for vcluster-docs-site ready!

Name Link
🔨 Latest commit 96dd628
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs-site/deploys/67d8b052b001af0008422d38
😎 Deploy Preview https://deploy-preview-529--vcluster-docs-site.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Piotr1215
Copy link
Contributor

This is addressed in #523

@Piotr1215 Piotr1215 closed this Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants