Skip to content

Latest commit

 

History

History
60 lines (30 loc) · 2.21 KB

README.md

File metadata and controls

60 lines (30 loc) · 2.21 KB

How to back up (and restore) an IBM Cloud Private environment

Introduction

In this document, we will describe how to back up and restore your IBM Cloud Private (ICP) environment

General guidance on ICP backup

ICP and Kubernetes rely heavily on etcd and cloudant to store the configuration. According to the etcd documentation (https://coreos.com/etcd/docs/latest/v2/admin_guide.html#disaster-recovery)

A user should avoid restarting an etcd member with a data directory from an out-of-date backup. Using an out-of-date data directory can lead to inconsistency as the member had agreed to store information via raft then re-joins saying it needs that information again. For maximum safety, if an etcd member suffers any sort of data corruption or loss, it must be removed from the cluster. Once removed the member can be re-added with an empty data directory.

So we recommend back up specific ICP components:

  • etcd
  • Docker Registry
  • Cloudant
  • MariaDB
  • certificates

Based on that, we recommend the following procedure:

flow

We will describe two backup procedures:

  • Back up the entire environment, after the initial solution, so that it can be recreated quickly

  • Back up individual ICP components

Procedures

Backup and restore the entire environment

Backup and restore ICP components

TBD

Back up and restore the Persistent Volumes

Back-burner

Backup and restore some ICP nodes

Additional information