Skip to content

Commit 79234c9

Browse files
committed
Allow own Xtrabackup script
We have our own backup script with some additional features, of which quite a few are specific for our platform. I could add some of them here as well, but this would end up in a completely new script. That's why I try it with this minimally invasive variant :)
1 parent 4adfd93 commit 79234c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/backup/xtrabackup.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
$backupdirgroup = $mysql::params::root_group,
1515
$backupcompress = true,
1616
$backuprotate = 30,
17+
$backupscript_template = 'mysql/xtrabackup.sh.erb',
1718
$ignore_events = true,
1819
$delete_before_dump = false,
1920
$backupdatabases = [],
@@ -94,6 +95,6 @@
9495
mode => '0700',
9596
owner => 'root',
9697
group => $mysql::params::root_group,
97-
content => template('mysql/xtrabackup.sh.erb'),
98+
content => template($backupscript_template),
9899
}
99100
}

0 commit comments

Comments
 (0)