Merge "kerberos-kdc: add database backups"

This commit is contained in:
Zuul 2021-03-19 00:06:59 +00:00 committed by Gerrit Code Review
commit b8874e4f51
3 changed files with 15 additions and 2 deletions

View File

@ -59,8 +59,7 @@ The general process is:
(primary-side push) and ``kpropod`` (replica-side listen).
In a disaster recovery situation, we can provision a fresh realm and
recover principals from dump files (XXX: 2020-03-11 ianw -- dump file
backup to come).
recover principals from backup dumps.
.. _addprinc:

View File

@ -24,6 +24,7 @@ groups:
- review-dev[0-9]*.open*.org
- zuul[0-9]*.open*.org
- refstack01.openstack.org
- kdc03.openstack.org
# All these servers are "special-cased" in specifically
# as they are puppet and should be replaced "soon"
- ethercalc02.openstack.org

View File

@ -92,3 +92,16 @@
state: started
enabled: yes
name: krb5-kdc
- name: Setup db backup streaming job
block:
- name: Create backup streaming config dir
file:
path: /etc/borg-streams
state: directory
- name: Create db streaming file
copy:
content: >-
/usr/sbin/kdb5_util dump
dest: /etc/borg-streams/kdb5