Add option to set exact backup times
Change-Id: Ic43b0f4c77c5d25551ea32e0cac3d9958beb2b8d
diff --git a/tests/pillar/client_backup_times.sls b/tests/pillar/client_backup_times.sls
new file mode 100644
index 0000000..2e83129
--- /dev/null
+++ b/tests/pillar/client_backup_times.sls
@@ -0,0 +1,22 @@
+xtrabackup:
+ client:
+ enabled: true
+ full_backups_to_keep: 3
+ incr_before_full: 3
+ backup_dir: /var/backups/mysql/xtrabackup
+ backup_times:
+ dayOfWeek: 0
+# month: *
+# dayOfMonth: *
+ hour: 4
+ minute: 52
+ compression: true
+ compression_threads: 2
+ database:
+ user: user
+ password: password
+ target:
+ host: host01
+ qpress:
+ source: tar
+ name: url
\ No newline at end of file
diff --git a/tests/pillar/server_backup_times.sls b/tests/pillar/server_backup_times.sls
new file mode 100644
index 0000000..44a141b
--- /dev/null
+++ b/tests/pillar/server_backup_times.sls
@@ -0,0 +1,16 @@
+xtrabackup:
+ server:
+ enabled: true
+ full_backups_to_keep: 3
+ incr_before_full: 3
+ backup_dir: /srv/backup
+ backup_times:
+ dayOfWeek: 0
+# month: *
+# dayOfMonth: *
+ hour: 4
+ minute: 52
+ key:
+ xtrabackup_pub_key:
+ enabled: true
+ key: key
\ No newline at end of file