Browse Source

Fix out-of-date schema comments about databases and one_file_system.

Dan Helfman 6 months ago
parent
commit
3ceb4f554f
1 changed files with 12 additions and 17 deletions
  1. 12 17
      borgmatic/config/schema.yaml

+ 12 - 17
borgmatic/config/schema.yaml

@@ -68,9 +68,7 @@ properties:
         type: boolean
         type: boolean
         description: |
         description: |
             Stay in same file system; do not cross mount points beyond the given
             Stay in same file system; do not cross mount points beyond the given
-            source directories. Defaults to false. But when a database hook is
-            used, the setting here is ignored and one_file_system is considered
-            true.
+            source directories. Defaults to false.
         example: true
         example: true
     numeric_ids:
     numeric_ids:
         type: boolean
         type: boolean
@@ -963,8 +961,8 @@ properties:
                         dump all databases on the host. (Also set the "format"
                         dump all databases on the host. (Also set the "format"
                         to dump each database to a separate file instead of one
                         to dump each database to a separate file instead of one
                         combined file.) Note that using this database hook
                         combined file.) Note that using this database hook
-                        implicitly enables both read_special and one_file_system
-                        (see above) to support dump and restore streaming.
+                        implicitly enables read_special (see above) to support
+                        dump and restore streaming.
                     example: users
                     example: users
                 hostname:
                 hostname:
                     type: string
                     type: string
@@ -1145,9 +1143,8 @@ properties:
                     description: |
                     description: |
                         Database name (required if using this hook). Or "all" to
                         Database name (required if using this hook). Or "all" to
                         dump all databases on the host. Note that using this
                         dump all databases on the host. Note that using this
-                        database hook implicitly enables both read_special and
-                        one_file_system (see above) to support dump and restore
-                        streaming.
+                        database hook implicitly enables read_special (see
+                        above) to support dump and restore streaming.
                     example: users
                     example: users
                 hostname:
                 hostname:
                     type: string
                     type: string
@@ -1272,9 +1269,8 @@ properties:
                     description: |
                     description: |
                         Database name (required if using this hook). Or "all" to
                         Database name (required if using this hook). Or "all" to
                         dump all databases on the host. Note that using this
                         dump all databases on the host. Note that using this
-                        database hook implicitly enables both read_special and
-                        one_file_system (see above) to support dump and restore
-                        streaming.
+                        database hook implicitly enables read_special (see
+                        above) to support dump and restore streaming.
                     example: users
                     example: users
                 hostname:
                 hostname:
                     type: string
                     type: string
@@ -1407,9 +1403,9 @@ properties:
                     description: |
                     description: |
                         Path to the SQLite database file to dump. If relative,
                         Path to the SQLite database file to dump. If relative,
                         it is relative to the current working directory. Note
                         it is relative to the current working directory. Note
-                        that using this database hook implicitly enables both
-                        read_special and one_file_system (see above) to support
-                        dump and restore streaming.
+                        that using this database hook implicitly enables
+                        read_special (see above) to support dump and restore
+                        streaming.
                     example: /var/lib/sqlite/users.db
                     example: /var/lib/sqlite/users.db
                 restore_path:
                 restore_path:
                     type: string
                     type: string
@@ -1429,9 +1425,8 @@ properties:
                     description: |
                     description: |
                         Database name (required if using this hook). Or "all" to
                         Database name (required if using this hook). Or "all" to
                         dump all databases on the host. Note that using this
                         dump all databases on the host. Note that using this
-                        database hook implicitly enables both read_special and
-                        one_file_system (see above) to support dump and restore
-                        streaming.
+                        database hook implicitly enables read_special (see
+                        above) to support dump and restore streaming.
                     example: users
                     example: users
                 hostname:
                 hostname:
                     type: string
                     type: string