Puppet Class: role::dbbackups::metadata

Defined in:
modules/role/manifests/dbbackups/metadata.pp

Overview

Create weekly mydumper logical backups and daily xtrabackup snapshots using the mariadb_backup.py script of all production core metadata (s*, x*) and misc (m*) hosts. Content (es) backups are done separately with dbbackups::content, as they don't do snapshotting and require additional space due to extra size. Do that using a cron job on all backup hosts, all datacenters + the cron on cluster management hosts. If we are on the active datacenter, also send the latest logical backups to the long-term storage. In the future, we will want to send them to both, in a cross-dc way.



12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'modules/role/manifests/dbbackups/metadata.pp', line 12

class role::dbbackups::metadata {
    system::role { 'dbbackups::metadata':
        description => 'Metadata databases dumps and backups',
    }

    include ::profile::firewall
    include ::profile::base::production

    include ::profile::backup::host
    include ::profile::mariadb::wmfmariadbpy
    include ::profile::dbbackups::mydumper
    include ::profile::dbbackups::snapshot
    include ::profile::dbbackups::bacula
}