Skip to main content

What is protected

At a glance​

WhatCoveredBackupRestore options
Namespaces and their namespaced resourcesYesOne or more namespaces per backup or policyInto a new namespace in the same cluster; in place into the original namespace (adds missing resources only); to another connected cluster with Migrations
Persistent volume dataYesCSI snapshot copied to your storage location (recommended), or CSI snapshot kept in the clusterWith its namespace, from the restore point you pick
Databases in the clusterYes, with app hooksBuilt-in hooks for PostgreSQL, MySQL, MariaDB, MongoDB and Redis, or your own commandsWith their namespace; post-restore commands run once the pod is ready
Resource manifests only, no volume dataYesChoose Resources only, no volume dataWith the namespace
Cluster-scoped resources (CRDs, ClusterRoles and similar)No
Single resources or files inside a volumeNo

See Not covered for the complete list.

Namespaces​

  • Pick one or more namespaces for each on-demand backup or policy. At least one namespace is required.
  • Every namespaced resource in those namespaces is backed up, together with its volume data unless you choose Resources only, no volume data.
  • On the Overview page, Applications are counted as namespaces.

Persistent volumes​

For each backup and policy you choose how Volume data is handled:

OptionWhat happensWhere the data is
CSI snapshot + copy to storage location (recommended)Each volume is snapshotted and its data copied out of the clusterYour bucket. For policies, the snapshot in the cluster is kept for 72 hours and the copy in your bucket for the retention you set.
CSI snapshot only (data stays in the cluster)Each volume is snapshottedOnly in the cluster. If the cluster or its storage is lost, so is the snapshot.
Resources only, no volume dataVolumes are not backed up

The snapshot options need a CSI driver that supports volume snapshots.

Databases in the cluster (app hooks)​

App hooks run commands inside your pods before and after a backup so the database restores reliably. They do not modify your workloads.

Built-in templateSupported versionsConsistency shown on the restore point
PostgreSQL17, 16Crash-consistent, recoverable
MySQL and MariaDBMySQL 8.4, 8.0; MariaDB 11, 10.11Crash-consistent, recoverable
MongoDB8.0, 7.0Application-consistent
Redis7.4, 7.2Application-consistent
  • Crash-consistent, recoverable: data is flushed before an atomic volume snapshot; after a restore the database reaches a consistent state through its own crash recovery.
  • Application-consistent: the database had writes frozen or flushed to disk at backup time.
  • A backup without hooks shows Unknown.

You can also write your own hooks on App Hooks, with Pre-backup, Post-backup and Post-restore commands, or start with Copy as my hook on a built-in template. You bind a hook to pods by label when you create a backup or policy.

Limits:

  • App hooks need a snapshot volume option; they cannot be used with a backup that has no volume snapshots.
  • The templates read credentials from the container's environment variables, as set by the databases' official images.
  • Keep the database's data directory and its write-ahead or redo log on the same volume.
  • Only the workspace owner can create or change hook definitions.

Schedules and retention​

  • Schedules: Every 6 hours, Daily at 02:00, Sundays at 02:00, or a Custom cron with five fields. You can edit a policy's namespaces and schedule, Pause and Enable it, or Run now.
  • Retention: on-demand backups 1, 7, 30 or 90 days; policies 7, 30 or 90 days. The default is 30 days. Expired backups are removed automatically.
  • To change a policy's volume data option or storage location, create a new policy and disable the old one.

Restore options​

What you restoreWhere it goesHow
One or more namespacesA new namespace in the same cluster. The default name is <namespace>-restore-<MMDD>; you can change it.From any restore point you still keep, after a preflight check
A namespace, in placeIts original namespaceOnly missing resources are added back; existing ones are not overwritten
Namespaces with their volumesAnother connected cluster in your organizationMigrations wizard

Before a restore starts, the Preflight lists anything blocking it and any warnings, so you can fix them first. Every restore point keeps its own log, errors and warnings.

Migrations to another cluster​

The Migrations wizard moves namespaces and their volume data from one connected cluster to another in the same organization. The source application is not affected. You can narrow the scope with Resource labels, rename namespaces, and map each storage class to one on the target cluster. The wizard runs five steps (Back up source cluster, Attach read-only location on target, Wait for backup sync, Restore on target cluster, Verify and report) and ends with a report on bound volume claims and ready workloads. If a step fails, you can Retry from the failed step.

Limits:

  • You need at least two connected clusters in the organization.
  • Target namespaces must not already exist on the target cluster.
  • The target cluster must already have its own storage location on the same bucket. Its existing credentials are used to read the backup; credentials never leave a cluster.
  • Cluster-scoped resources (CRDs, ClusterRoles and similar) are not migrated.
  • The target cluster's agent must be recent enough; upgrade it on Clusters if the console asks you to.

Storage​

  • Azure Blob: storage account, container and storage account key.
  • S3 / S3-compatible: bucket, region, endpoint (leave empty for AWS) and access key and secret key. Turn on path-style addressing if your storage needs it.
  • Backups from each cluster are always written under their own prefix, so several clusters can share a bucket.
  • A container cannot hold both a storage location at its root and one with a prefix. If a container already has a root location, use another container.
  • Only the workspace owner can add or change storage locations.

Limits that apply to the whole module​

  • Restores work per namespace. A whole-cluster backup cannot be restored.
  • Your workspace may have a worker-node limit. At the limit you cannot connect another cluster; backups and restores on connected clusters keep working.
  • The agent needs outbound HTTPS (port 443) to protect.onevinera.com.

Not covered​

These are not covered by the Kubernetes module today:

  • Whole-cluster backup and cluster-scoped resources (CRDs, ClusterRoles and similar).
  • Choosing resources by label for backups and policies. Labels can be used in Migrations and to pick pods for app hooks.
  • Restoring single resources, or browsing and restoring individual files from a volume.
  • Database log shipping, point-in-time database recovery and logical database dumps.
  • Vinera-hosted backup storage. Backups always go to a bucket you own.
  • Google Cloud Storage as a storage location.
  • Write-once (immutable) storage settings, a second copy in another location, and multi-person approval for deletes.
  • Grandfather-father-son (daily, weekly, monthly) retention tiers.
  • Automatic protection of new namespaces.
  • Scheduled restore tests and failover plans.
  • Exporting reports or the activity log, and scheduled or emailed reports.