Fix support metadata
diff --git a/metadata/service/server/cluster.yml b/metadata/service/server/cluster.yml
index 81f5e42..e756e1f 100644
--- a/metadata/service/server/cluster.yml
+++ b/metadata/service/server/cluster.yml
@@ -1,3 +1,5 @@
+classes:
+- service.mysql.support
applications:
- mysql
parameters:
diff --git a/metadata/service/server/local.yml b/metadata/service/server/local.yml
index 1dffdd3..354c527 100644
--- a/metadata/service/server/local.yml
+++ b/metadata/service/server/local.yml
@@ -1,3 +1,5 @@
+classes:
+- service.mysql.support
applications:
- mysql
parameters:
diff --git a/metadata/service/server/replication_both.yml b/metadata/service/server/replication_both.yml
index ffc137c..bac78b2 100644
--- a/metadata/service/server/replication_both.yml
+++ b/metadata/service/server/replication_both.yml
@@ -1,3 +1,5 @@
+classes:
+- service.mysql.support
applications:
- mysql
parameters:
diff --git a/metadata/service/server/replication_master.yml b/metadata/service/server/replication_master.yml
index 5ebca0c..643bd87 100644
--- a/metadata/service/server/replication_master.yml
+++ b/metadata/service/server/replication_master.yml
@@ -1,3 +1,5 @@
+classes:
+- service.mysql.support
applications:
- mysql
parameters:
@@ -26,4 +28,4 @@
minion:
mine:
module:
- mysql.get_master_status: []
\ No newline at end of file
+ mysql.get_master_status: []
diff --git a/metadata/service/server/replication_slave.yml b/metadata/service/server/replication_slave.yml
index adac12c..039addf 100644
--- a/metadata/service/server/replication_slave.yml
+++ b/metadata/service/server/replication_slave.yml
@@ -1,3 +1,5 @@
+classes:
+- service.mysql.support
applications:
- mysql
parameters:
diff --git a/metadata/service/server/single.yml b/metadata/service/server/single.yml
index e61bbfa..c70f37e 100644
--- a/metadata/service/server/single.yml
+++ b/metadata/service/server/single.yml
@@ -1,3 +1,5 @@
+classes:
+- service.mysql.support
applications:
- mysql
parameters:
diff --git a/metadata/service/support.yml b/metadata/service/support.yml
index a7276bf..3c7b21b 100644
--- a/metadata/service/support.yml
+++ b/metadata/service/support.yml
@@ -8,4 +8,6 @@
sensu:
enabled: true
sphinx:
- enabled: false
\ No newline at end of file
+ enabled: false
+ backupninja:
+ enabled: true
diff --git a/mysql/meta/backupninja.yml b/mysql/meta/backupninja.yml
new file mode 100644
index 0000000..80c192c
--- /dev/null
+++ b/mysql/meta/backupninja.yml
@@ -0,0 +1,5 @@
+backup:
+ mysql:
+ fs_includes:
+ - /var/backups/mysql
+ fs_excludes: []