<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Backups on Support Tools</title><link>https://support.tools/tags/backups/</link><description>Recent content in Backups on Support Tools</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 26 Oct 2024 11:45:00 -0500</lastBuildDate><atom:link href="https://support.tools/tags/backups/index.xml" rel="self" type="application/rss+xml"/><item><title>Using MinIO as a Backup Target for Rancher Longhorn</title><link>https://support.tools/minio-backup-target-longhorn/</link><pubDate>Sat, 26 Oct 2024 11:45:00 -0500</pubDate><guid>https://support.tools/minio-backup-target-longhorn/</guid><description>&lt;p&gt;&lt;strong&gt;Longhorn&lt;/strong&gt;, an open-source container-native storage system developed by Rancher, simplifies &lt;strong&gt;persistent volume backups&lt;/strong&gt; by supporting &lt;strong&gt;S3 and NFS&lt;/strong&gt; storage systems as backup targets. In this guide, we’ll walk through how to &lt;strong&gt;configure MinIO&lt;/strong&gt; as an S3-compatible backup target for Longhorn, enabling reliable volume backups.&lt;/p&gt;&#10;&lt;p&gt;This post assumes that &lt;strong&gt;Longhorn and MinIO are already installed&lt;/strong&gt;—for installation guides, refer to the official &lt;a href="https://longhorn.io/"&gt;Longhorn documentation&lt;/a&gt; and &lt;a href="https://min.io/docs/"&gt;MinIO Quickstart Guide&lt;/a&gt;.&lt;/p&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="environment-overview"&gt;Environment Overview&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;MinIO version:&lt;/strong&gt; RELEASE.2021-08-17T20-53-08Z (deployed with Podman on SUSE SLES 15 SP2)&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Longhorn version:&lt;/strong&gt; 1.1.1 (installed via Rancher’s Application Catalog on an RKE cluster running Kubernetes 1.20.9-rancher1-1)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="step-1-configure-minio-for-longhorn-backups"&gt;Step 1: Configure MinIO for Longhorn Backups&lt;/h2&gt;&#10;&lt;p&gt;First, we’ll set up &lt;strong&gt;MinIO storage&lt;/strong&gt; by creating a dedicated bucket, folder, user, and policy for Longhorn backups. Use MinIO’s command-line tool, &lt;code&gt;mc&lt;/code&gt;, to manage these objects.&lt;/p&gt;</description></item><item><title>The Ultimate Guide to Kubernetes Backups for Rancher and RKE2</title><link>https://support.tools/rancher-rke2-backups/</link><pubDate>Tue, 22 Oct 2024 19:45:00 -0500</pubDate><guid>https://support.tools/rancher-rke2-backups/</guid><description>&lt;h1 id="no-one-has-ever-gotten-fired-for-having-too-many-backups"&gt;“No One Has Ever Gotten Fired for Having Too Many Backups”&lt;/h1&gt;&#10;&lt;p&gt;When running &lt;strong&gt;Rancher&lt;/strong&gt; or &lt;strong&gt;RKE2&lt;/strong&gt;, there’s one mantra to live by: &lt;strong&gt;“Always back it up before making a change.”&lt;/strong&gt; Backups are not just about recovering from disasters—they’re about giving you the confidence to experiment, upgrade, and troubleshoot without fear. This post covers essential strategies for &lt;strong&gt;Kubernetes backups&lt;/strong&gt;, with practical advice and links to tools and methods to make backup processes effortless.&lt;/p&gt;</description></item><item><title>KubeBackup: Automating Kubernetes Cluster Backups</title><link>https://support.tools/kubebackup/</link><pubDate>Sat, 19 Oct 2024 19:26:00 -0500</pubDate><guid>https://support.tools/kubebackup/</guid><description>&lt;p&gt;&lt;img src="https://github.com/mattmattox/kubebackup/raw/master/assets/kubebackup-logo.png" alt="KubeBackup Logo"&gt;&lt;/p&gt;&#10;&lt;p&gt;Backing up your Kubernetes cluster is critical for disaster recovery and operational continuity. &lt;strong&gt;KubeBackup&lt;/strong&gt; is a tool designed to simplify cluster backups by &lt;strong&gt;exporting YAML configurations&lt;/strong&gt; and &lt;strong&gt;uploading them to an S3 bucket&lt;/strong&gt;. With KubeBackup, you can automate backups, ensuring you have all necessary data to redeploy or restore your cluster quickly.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://github.com/mattmattox/kubebackup/actions/workflows/build-and-publish.yml"&gt;&lt;img src="https://github.com/mattmattox/kubebackup/actions/workflows/build-and-publish.yml/badge.svg" alt="Build, Test and Publish"&gt;&lt;/a&gt;&lt;br&gt;&#10;&lt;a href="https://goreportcard.com/report/github.com/mattmattox/kubebackup"&gt;&lt;img src="https://goreportcard.com/badge/github.com/mattmattox/kubebackup" alt="Go Report Card"&gt;&lt;/a&gt;&lt;br&gt;&#10;&lt;a href="https://hub.docker.com/r/cube8021/kubebackup"&gt;&lt;img src="https://img.shields.io/docker/pulls/cube8021/kubebackup.svg" alt="Docker Pulls"&gt;&lt;/a&gt;&lt;br&gt;&#10;&lt;a href="https://github.com/mattmattox/kubebackup/releases"&gt;&lt;img src="https://img.shields.io/github/v/release/mattmattox/kubebackup" alt="GitHub release (latest by date)"&gt;&lt;/a&gt;&lt;br&gt;&#10;&lt;a href="https://github.com/mattmattox/kubebackup/blob/master/LICENSE"&gt;&lt;img src="https://img.shields.io/github/license/mattmattox/kubebackup" alt="License"&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Exploring Backup Tools for Kubernetes: Velero, Longhorn, and More</title><link>https://support.tools/kubernetes-backup-tools/</link><pubDate>Fri, 18 Oct 2024 19:30:00 -0500</pubDate><guid>https://support.tools/kubernetes-backup-tools/</guid><description>&lt;p&gt;Backing up your &lt;strong&gt;Kubernetes cluster&lt;/strong&gt; is critical for disaster recovery and ensuring continuity. Besides &lt;strong&gt;KubeBackup&lt;/strong&gt;, other tools offer complementary and robust solutions for backing up both cluster configurations and data. In this post, we’ll explore &lt;strong&gt;Velero, Longhorn&lt;/strong&gt;, and other tools that are designed to handle backups in Kubernetes environments.&lt;/p&gt;</description></item><item><title>Longhorn Backups: Protecting Persistent Data in Kubernetes</title><link>https://support.tools/longhorn-backups/</link><pubDate>Wed, 16 Oct 2024 19:50:00 -0500</pubDate><guid>https://support.tools/longhorn-backups/</guid><description>&lt;p&gt;&lt;img src="https://raw.githubusercontent.com/longhorn/website/master/static/img/logos/longhorn-stacked-color.png" alt="Longhorn Logo"&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Longhorn&lt;/strong&gt; provides a lightweight, reliable, and distributed &lt;strong&gt;block storage solution&lt;/strong&gt; for Kubernetes, offering seamless &lt;strong&gt;backups&lt;/strong&gt; of your persistent volumes (PVs) and ensuring your data is protected from failure.&lt;/p&gt;&#10;&lt;p&gt;In this post, we’ll dive into how &lt;strong&gt;Longhorn backups work&lt;/strong&gt;, best practices for using them, and how to &lt;strong&gt;automate your backup process&lt;/strong&gt; to protect your critical data.&lt;/p&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="why-longhorn-for-backups"&gt;Why Longhorn for Backups?&lt;/h2&gt;&#10;&lt;p&gt;Longhorn is designed specifically for &lt;strong&gt;stateful workloads&lt;/strong&gt; in Kubernetes. With native support for &lt;strong&gt;snapshots and backups&lt;/strong&gt;, it ensures that data stored in &lt;strong&gt;Persistent Volume Claims (PVCs)&lt;/strong&gt; is protected.&lt;/p&gt;</description></item><item><title>Kasten K10: Enterprise-Grade Backups for Kubernetes</title><link>https://support.tools/kasten-k10-backups/</link><pubDate>Tue, 15 Oct 2024 19:55:00 -0500</pubDate><guid>https://support.tools/kasten-k10-backups/</guid><description>&lt;p&gt;&lt;img src="https://www.kasten.io/hubfs/k10_product_shot.png" alt="Kasten K10"&gt;&lt;/p&gt;&#10;&lt;p&gt;Kubernetes environments require &lt;strong&gt;robust backups and disaster recovery tools&lt;/strong&gt; to protect against failures, misconfigurations, and outages. &lt;strong&gt;Kasten K10&lt;/strong&gt; provides an enterprise-grade solution for &lt;strong&gt;backing up, restoring, and migrating Kubernetes applications&lt;/strong&gt;, ensuring that both &lt;strong&gt;stateful&lt;/strong&gt; and &lt;strong&gt;stateless&lt;/strong&gt; workloads are safeguarded.&lt;/p&gt;&#10;&lt;p&gt;In this post, we’ll explore the features, installation process, and best practices for &lt;strong&gt;Kasten K10&lt;/strong&gt;, making it easy for you to adopt it as part of your Kubernetes backup strategy.&lt;/p&gt;</description></item><item><title>Rancher Backups and Disaster Recovery for RKE1</title><link>https://support.tools/post/rancher-backups-and-disaster-recovery/</link><pubDate>Sun, 30 Jun 2024 23:18:00 -0500</pubDate><guid>https://support.tools/post/rancher-backups-and-disaster-recovery/</guid><description>&lt;p&gt;Eventually, something will happen that requires restoring a Kubernetes cluster. That&amp;rsquo;s not a question of if but when.&lt;/p&gt;&#10;&lt;p&gt;In the case of Kubernetes, this means regularly backing up the etcd datastore.&lt;/p&gt;&#10;&lt;p&gt;How regular? The choice is yours. It is up to you how much data you are willing to lose.&lt;/p&gt;&#10;&lt;p&gt;For example, a highly active cluster may take snapshots every fifteen minutes or even every five minutes. In the case of a cluster that does not receive a lot of activity, a snapshot of the cluster might be taken daily.&lt;/p&gt;&#10;&lt;p&gt;You can never be fired for having too many backups.&lt;/p&gt;&#10;&lt;p&gt;As a default, RKE takes a snapshot every six hours and keeps it for one day, but you can change the settings in the &lt;code&gt;cluster.yaml&lt;/code&gt;.&lt;/p&gt;&#10;&lt;p&gt;Any time you wish, you can run a snapshot by executing the command &lt;code&gt;rke etcd snapshot-save&lt;/code&gt; and passing it the name of the backup and the location of &lt;code&gt;cluster.yml&lt;/code&gt;. This command will write a snapshot of all the etcd hosts to &lt;code&gt;/opt/rke/etcd-snapshots&lt;/code&gt;. It is possible to mount an NFS volume there, or you can configure RKE to copy the snapshot to S3 to restore it.&lt;/p&gt;</description></item></channel></rss>