第 1 章 Backing up and restoring MicroShift data


You can manually back up and restore the MicroShift database on all supported systems. For application data, you must create custom procedures.

1.1. About backing up and restoring MicroShift data

Before you can create a manual backup, greenboot health checks must finish running and you must stop the MicroShift service.

  • On rpm-ostree systems, MicroShift automatically creates a backup on every start. These automatic backups are deleted and replaced with the latest backup each time the system restarts.
  • Data is also automatically restored on an rpm-ostree system after a greenboot system rollback. This data restoration ensures that the database matches the software running on the host after the rollback is completed.
  • On other system types, you must back up and restore data manually.

Automated backups are in the /var/lib/microshift-backups directory by default. You can use this directory for manually backing up and restoring data by specifying it in each command. When you restore a backup, you must use the entire file path.

注意

The following procedures only backup and restore MicroShift data. Application data is not included.

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部