]> git.proxmox.com Git - proxmox-backup.git/commitdiff
client: expose all-file-systems option
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 16 Nov 2020 09:22:47 +0000 (10:22 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 16 Nov 2020 15:59:14 +0000 (16:59 +0100)
Useful to avoid the need for a long (and possibly changing) list of include-dev
options in certain situations, e.g. nested ZFS file systems. The option is
already implemented and seems to work as expected. The checks for virtual
filesystems are not affected by this option.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
src/bin/proxmox-backup-client.rs

index 54e11f082992ff160e87f5e1ec3e35a257bd2151..70aba77fb3827a5b740e4b5f7b9752229ed05097 100644 (file)
@@ -875,6 +875,11 @@ fn keyfile_parameters(param: &Value) -> Result<(Option<Vec<u8>>, CryptMode), Err
                    description: "Path to file.",
                }
            },
+           "all-file-systems": {
+               type: Boolean,
+               description: "Include all mounted subdirectories.",
+               optional: true,
+           },
            keyfile: {
                schema: KEYFILE_SCHEMA,
                optional: true,