Merge "kerberos-kdc: add database backups"
This commit is contained in:
commit
b8874e4f51
@ -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:
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user