Loading

freeipa

freeipa 一键安装

docker run --rm --name dev-freeipa -ti -h ipa.example.test --read-only \
 -v /sys/fs/cgroup:/sys/fs/cgroup:ro  \
 -v /var/lib/ipa-data:/data:Z \
 -e PASSWORD=${password} \
 -p 80:80 -p 389:389 -p 443:443 \
 --sysctl net.ipv6.conf.all.disable_ipv6=0 \
 freeipa/freeipa-server:almalinux-8-4.9.8 \
 ipa-server-install -U -r EXAMPLE.TEST --no-ntp

数据备份

# 默认备份到/var/lib/ipa/backup目录
[root@ipa /]# ipa-backup –data –online
[root@ipa /]# ls /var/lib/ipa/backup/
ipa-full-2022-07-11-02-35-12  ipa-full-2022-07-11-02-39-41
[root@freeipa ~]# ls backup/ipa-full-2022-07-11-02-35-12/
header  ipa-full.tar

# 恢复数据
ipa-restore ipa-restore /var/lib/ipa/backup/ipa-full-2022-07-11-02-39-41/

posted @ 2022-07-05 15:49  小维江湖  阅读(491)  评论(0编辑  收藏  举报