Skip to content

This fork meant to fold in updates and begin adding 2103 process

Notifications You must be signed in to change notification settings

jabbott7335/icp-backup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This fork meant to fold in updates and begin adding 2103 process

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 99.4%
  • Smarty 0.6%