Add option to set exact backup times
Change-Id: I01202d79750b810d4e24571bbf0ecab11bab7398
diff --git a/tests/pillar/backup_client_backup_times.sls b/tests/pillar/backup_client_backup_times.sls
new file mode 100644
index 0000000..6f0b43b
--- /dev/null
+++ b/tests/pillar/backup_client_backup_times.sls
@@ -0,0 +1,16 @@
+cassandra:
+ backup:
+ client:
+ enabled: true
+ full_backups_to_keep: 3
+ incr_before_full: 3
+ backup_times:
+ dayOfWeek: 0
+# month: *
+# dayOfMonth: *
+ hour: 4
+ minute: 52
+ target:
+ host: cfg01
+ restore_latest: 1
+ restore_from: local
\ No newline at end of file
diff --git a/tests/pillar/backup_server_backup_times.sls b/tests/pillar/backup_server_backup_times.sls
new file mode 100644
index 0000000..5c226b6
--- /dev/null
+++ b/tests/pillar/backup_server_backup_times.sls
@@ -0,0 +1,17 @@
+cassandra:
+ backup:
+ 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:
+ cassandra_pub_key:
+ enabled: true
+ key: key
\ No newline at end of file