Bläddra i källkod

restore_container schema

Florian Apolloner 1 månad sedan
förälder
incheckning
bcacbc0d69
1 ändrade filer med 28 tillägg och 4 borttagningar
  1. 28 4
      borgmatic/config/schema.yaml

+ 28 - 4
borgmatic/config/schema.yaml

@@ -1330,10 +1330,16 @@ properties:
                     example: my_backup_label
                     example: my_backup_label
                 container:
                 container:
                     type: string
                     type: string
-                    description:
+                    description: |
                         Container name/id to connect to. When specified the
                         Container name/id to connect to. When specified the
                         hostname is ignored. Requires docker/podman CLI.
                         hostname is ignored. Requires docker/podman CLI.
                     example: debian_stable
                     example: debian_stable
+                restore_container:
+                    type: string
+                    description: |
+                        Container name/id to restore to. Defaults to the "container"
+                        option.
+                    example: restore_container
                 hostname:
                 hostname:
                     type: string
                     type: string
                     description: |
                     description: |
@@ -1542,10 +1548,16 @@ properties:
                     example: my_backup_label
                     example: my_backup_label
                 container:
                 container:
                     type: string
                     type: string
-                    description:
+                    description: |
                         Container name/id to connect to. When specified the
                         Container name/id to connect to. When specified the
                         hostname is ignored. Requires docker/podman CLI.
                         hostname is ignored. Requires docker/podman CLI.
                     example: debian_stable
                     example: debian_stable
+                restore_container:
+                    type: string
+                    description: |
+                        Container name/id to restore to. Defaults to the "container"
+                        option.
+                    example: restore_container
                 hostname:
                 hostname:
                     type: string
                     type: string
                     description: |
                     description: |
@@ -1718,10 +1730,16 @@ properties:
                     example: my_backup_label
                     example: my_backup_label
                 container:
                 container:
                     type: string
                     type: string
-                    description:
+                    description: |
                         Container name/id to connect to. When specified the
                         Container name/id to connect to. When specified the
                         hostname is ignored. Requires docker/podman CLI.
                         hostname is ignored. Requires docker/podman CLI.
                     example: debian_stable
                     example: debian_stable
+                restore_container:
+                    type: string
+                    description: |
+                        Container name/id to restore to. Defaults to the "container"
+                        option.
+                    example: restore_container
                 hostname:
                 hostname:
                     type: string
                     type: string
                     description: |
                     description: |
@@ -1955,10 +1973,16 @@ properties:
                     example: my_backup_label
                     example: my_backup_label
                 container:
                 container:
                     type: string
                     type: string
-                    description:
+                    description: |
                         Container name/id to connect to. When specified the
                         Container name/id to connect to. When specified the
                         hostname is ignored. Requires docker/podman CLI.
                         hostname is ignored. Requires docker/podman CLI.
                     example: debian_stable
                     example: debian_stable
+                restore_container:
+                    type: string
+                    description: |
+                        Container name/id to restore to. Defaults to the "container"
+                        option.
+                    example: restore_container
                 hostname:
                 hostname:
                     type: string
                     type: string
                     description: |
                     description: |