Anolis 8.8 (CentOS 8) install snapper to support system snapshot.

发布时间 2023-07-10 09:22:31作者: blues667

Anolis 8.8 (CentOS 8) install snapper to support system snapshot.

  • cd /etc/yum.repos.d/
  • wget https://download.opensuse.org/repositories/filesystems:snapper/CentOS_8/filesystems:snapper.repo
  • yum install snapper
  • sudo yum install python3 python3-setuptools
  • sudo yum install git
  • git clone https://github.com/ricardo-vieira/snapper-gui/   //have error message: 403 error
  • git config --global url."https://ghproxy.com/https://github.com".insteadOf "https://github.com" 
  •  git clone https://github.com/ricardo-vieira/snapper-gui/   //success
  • cd snapper-gui
  • python3 snapper-gui

note:  the snapper only support  btrfs, ext4, kvm, not support xfs,  so when install linux next time, must choose the filesystem as  btrfs  or ext4, not xfs.