Member-only story

Harbor Project — Backup and Restore

How to backup your Harbor project

Tony
3 min readJan 14, 2023

In my last article: “Harbor project — Introduction”, I talked about what is Harbor project, why we need it and how to install it use docker-compose. In this article, let’s talk about its backup and restore.

First of all, we need to consider the following three aspects:

  • What data needs to be backed up?
  • RPO: How often should the backup cycle be?
  • RTO: After data loss, how long does it take to recover?

Each organization has different answers for the above questions, so make sure you understand the requirements before making and testing your backup plans.

In this article, we assume the Harbor project is installed under “/apps/harbor”.

Harbor Project Data

Harbor project data can be divided into static data and dynamic data.

Static Data

Static data is data that does not change in Harbor project, so we only need one backup for this type of data.

Static data includes:

  • Configuration files and environment variables: these data are usually in the directory of the Harbor installation directory common, and will be…

--

--

Tony
Tony

Responses (1)