Defined Type: backup::monthlyschedule

Defined in:
modules/backup/manifests/monthlyschedule.pp

Overview

SPDX-License-Identifier: Apache-2.0 Utility definition used internally to deduplicate code

Parameters:



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'modules/backup/manifests/monthlyschedule.pp', line 3

define backup::monthlyschedule(
    String $day,
) {
    bacula::director::schedule { "Monthly-1st-${day}":
        runs => [
            { 'level' => 'Full',
              'at'    => "1st ${day} at 02:05",
            },
            { 'level' => 'Differential',
              'at'    => "3rd ${day} at 03:05",
            },
            { 'level' => 'Incremental',
              'at'    => 'at 04:05',
            },
        ],
    }
}