website logo
Create accountLogin
Home
DCS
Node
Resources
Help center
Navigate through spaces
Home
DCS
Node
Resources
Help center
⌘K
Storj DCS
Get Started
AWS CLI and Hosted Gateway MT
AWS SDK and Hosted Gateway MT
Uplink CLI
Satellite Admin Console
Object Browser
Downloads
Download Uplink CLI
Download Self-hosted S3 Compatible Gateway
Download Storj Client Libraries
SDKs & Reference
Tutorial
How-to Guides
Concepts
Support
Support Overview
FAQ
Community Forum
Status Page
Help Desk
Billing, Payment & Accounts
Resources
Moved Documents
Docs powered by archbee 
13min

Kubernetes Backup via Velero

Introduction

This guide walks through the process of backing up a Kubernetes cluster using Restic with Velero. Velero is a command-line tool that backs up Kubernetes clusters and restores them in case of loss. Velero includes a command-line interface and server-side component that runs inside of your Kubernetes cluster.

Velero lets you:

  • Take backups of your cluster and restore them in case of loss.
  • Migrate cluster resources to other clusters.
  • Replicate your production cluster to development and testing clusters.
Document image

The Storj DCS Velero plugin does not support volume snapshots for now.

Prerequisites

  • Complete Velero Prerequisites and install the CLI
  • Create a Storj DCS account
  • Create Access Grant for the project or create an access grant with the Uplink CLI
  • Create a Storj Bucket where Velero will store the backups

Instructions

Install Velero with Storj plugin

Terminal
|

To generate an access grant ($ACCESS) for the configuration, follow the guide here: Sharing Your First Object.

Backup/Restore

Perform a backup:

Terminal
|

Perform a restore:

Terminal
|

Note: it's possible to overwrite the backup location or access grant by editing the backupstoragelocations.velero.io CR and restarting the Velero Pod on the cluster in case of any mistake with the configuration.

The complete Velero documentation is located here.

Multicloud Architecture for Disaster Prevention and Migration

Because Storj DCS is a globally distributed hot object store, you can store and recover your Kubernetes volumes from anywhere in the world, instantly, without having to replicate data across regions. For DevOps managers, this can mean better resilience for your cluster, reduced global RTO (recovery time objective), cost-savings, and improved native security over centralized alternatives.

In the example below, we can see a Disaster Recovery scenario where we might need to migrate into a new cluster:

Document image

In this scenario, Cluster B is restored from the backup of A and reconstituting the Kubernetes volume in the cluster.

Github Source: Velero Plugin

Updated 22 Sep 2022
Did this page help you?
Yes
No
UP NEXT
MongoDB Ops Manager
Docs powered by archbee 
TABLE OF CONTENTS
Introduction
Prerequisites
Instructions
Multicloud Architecture for Disaster Prevention and Migration
Github Source: Velero Plugin