Browse Source

Remove restore_data_source_dump as a command hook for now (#790).

Dan Helfman 5 months ago
parent
commit
10bd1c7b41
1 changed files with 8 additions and 16 deletions
  1. 8 16
      borgmatic/config/schema.yaml

+ 8 - 16
borgmatic/config/schema.yaml

@@ -960,7 +960,6 @@ properties:
                               - configuration
                               - configuration
                               - everything
                               - everything
                               - dump_data_sources
                               - dump_data_sources
-                              - restore_data_source_dump
                           description: |
                           description: |
                               Name for the point in borgmatic's execution before
                               Name for the point in borgmatic's execution before
                               which the commands should be run (required if
                               which the commands should be run (required if
@@ -975,8 +974,6 @@ properties:
                               files.
                               files.
                                * "dump_data_sources" runs before each data
                                * "dump_data_sources" runs before each data
                               source is dumped.
                               source is dumped.
-                               * "restore_data_source_dumps" runs before each
-                              data source is restored.
                           example: action
                           example: action
                       hooks:
                       hooks:
                           type: array
                           type: array
@@ -985,9 +982,8 @@ properties:
                           description: |
                           description: |
                               List of names of other hooks that this command
                               List of names of other hooks that this command
                               hook applies to. Defaults to all hooks of the
                               hook applies to. Defaults to all hooks of the
-                              relevant type. Only supported for
-                              "dump_data_sources" and
-                              "restore_data_source_dumps" hooks.
+                              relevant type. Only supported for the
+                              "dump_data_sources" hook.
                           example: postgresql
                           example: postgresql
                       when:
                       when:
                           type: array
                           type: array
@@ -1016,10 +1012,10 @@ properties:
                                   - key
                                   - key
                                   - borg
                                   - borg
                           description: |
                           description: |
-                              List of actions for which the commands will be run. Defaults to
-                              running for all actions. Ignored for "dump_data_sources" and
-                              "restore_data_source_dump", which by their nature only run for
-                              particular actions.
+                              List of actions for which the commands will be
+                              run. Defaults to running for all actions. Ignored
+                              for "dump_data_sources", which by its nature only
+                              runs for particular actions.
                           example: [create, prune, compact, check]
                           example: [create, prune, compact, check]
                       run:
                       run:
                           type: array
                           type: array
@@ -1042,7 +1038,6 @@ properties:
                               - everything
                               - everything
                               - error
                               - error
                               - dump_data_sources
                               - dump_data_sources
-                              - restore_data_source_dump
                           description: |
                           description: |
                               Name for the point in borgmatic's execution after
                               Name for the point in borgmatic's execution after
                               which the commands should be run (required if
                               which the commands should be run (required if
@@ -1058,8 +1053,6 @@ properties:
                                * "error" runs after an error occurs.
                                * "error" runs after an error occurs.
                                * "dump_data_sources" runs after each data
                                * "dump_data_sources" runs after each data
                               source is dumped.
                               source is dumped.
-                               * "restore_data_source_dumps" runs after each
-                              data source is restored.
                           example: action
                           example: action
                       hooks:
                       hooks:
                           type: array
                           type: array
@@ -1068,9 +1061,8 @@ properties:
                           description: |
                           description: |
                               List of names of other hooks that this command
                               List of names of other hooks that this command
                               hook applies to. Defaults to all hooks of the
                               hook applies to. Defaults to all hooks of the
-                              relevant type. Only supported for
-                              "dump_data_sources" and
-                              "restore_data_source_dumps" hooks.
+                              relevant type. Only supported for the
+                              "dump_data_sources" hook.
                           example: postgresql
                           example: postgresql
                       when:
                       when:
                           type: array
                           type: array