Skip to main content

Kubernetes

The Kubernetes module of Vinera Protect backs up the namespaces you choose, with their resources and the data in their persistent volumes, to object storage you own. You restore a namespace, or move it to another connected cluster, from one console at https://protect.onevinera.com.

What it protects​

WhatHow it is protected
NamespacesEvery namespaced resource in the namespaces you pick: workloads, services, config maps, secrets and the rest
Persistent volume dataA CSI snapshot copied to your storage location, or a CSI snapshot kept in the cluster; you choose per backup and per policy
Databases running in the clusterBuilt-in app hooks for PostgreSQL, MySQL, MariaDB, MongoDB and Redis, or your own commands, run before and after each backup

For the full list, including what is not covered, see What is protected.

How backup works​

  1. You connect a cluster. In the console you name the cluster and get a one-line Helm command with a one-time join code. Running it installs the Vinera Protect agent in your cluster.
  2. The agent only connects outwards. It dials out to the console over a secure WebSocket on port 443. Nothing in your cluster accepts connections from Vinera, and Vinera never holds a kubeconfig.
  3. The agent drives the backup engine in your cluster. The module works with the open-source Kubernetes backup engine that runs in your cluster. The agent does not install it; the console shows the install command if you need it. If the engine already runs, the agent finds it and lists its existing schedules as policies.
  4. You add a storage location. This is your own Azure Blob Storage container or S3-compatible bucket.
  5. You back up on demand or with policies. A policy says which namespaces to back up, how volumes are captured, when to run (a preset or any cron expression) and how long to keep each restore point.

Backups and restores run inside your cluster. Data goes from your cluster straight to your bucket.

Where restore points are kept​

DataWhere it is stored
Resources and copied volume dataIn your own bucket, in the region you chose, under the path tenants/<organization>/k8s/<cluster>. Several clusters can share one bucket safely.
CSI snapshotsIn your cluster's storage, when you choose a snapshot that stays in the cluster, and for 72 hours for policies that copy volume data out
Control-plane information (cluster names, activity log, migration jobs)In Vinera Protect. Vinera holds no backup data and keeps no storage keys.

Storage keys you enter in the console are passed to the agent and stored only in a Kubernetes Secret in your cluster. Encryption at rest of your backups is whatever your bucket provides.

The console​

The Kubernetes module has these pages:

  • Overview: clusters, worker nodes, policies and recent restore points.
  • Clusters: connect, upgrade and remove clusters; see each cluster's status and last heartbeat.
  • Backups: every restore point of the selected cluster; back up now or start a restore.
  • Restores: every restore and its progress.
  • Migrations: move namespaces and their volume data to another connected cluster.
  • Policies: scheduled backups; pause, enable or run a policy now.
  • Reports: backup success rate per cluster and per policy over the last 30 days.
  • App Hooks: built-in database templates and your own hooks.
  • Storage Locations: the buckets your backups are written to.
  • Activity: every change, who made it and the result, including refused attempts, kept for 180 days.

Use the cluster switcher at the top right to choose the cluster the other pages show.

Next steps​

  • What is protected: what is backed up, restore options and limits.
  • Get started: connect a cluster, add storage, create a policy, back up and restore.