]> git.proxmox.com Git - pmg-docs.git/commitdiff
run make update for static/schema definitions
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 18 Nov 2020 18:18:29 +0000 (19:18 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 18 Nov 2020 18:18:29 +0000 (19:18 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
api-viewer/apidata.js
pmg.conf.5-opts.adoc
pmg.spamquar-conf-opts.adoc
pmgbackup.1-synopsis.adoc
pmgsubscription.1-synopsis.adoc

index 0c89bda4390f41fe9851b0ac7e2bc207125f9265..7abb5d2d8753ebb9a83dca1d1e03f91950bca920 100644 (file)
@@ -8500,12 +8500,204 @@ var pmgapi = [
             "text" : "customscores"
          },
          {
+            "children" : [
+               {
+                  "info" : {
+                     "DELETE" : {
+                        "allowtoken" : 1,
+                        "description" : "Delete an PBS remote",
+                        "method" : "DELETE",
+                        "name" : "delete",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "remote" : {
+                                 "description" : "Profile ID.",
+                                 "format" : "pve-configid",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "admin"
+                           ]
+                        },
+                        "protected" : 1,
+                        "proxyto" : "master",
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     },
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Get Proxmox Backup Server remote configuration.",
+                        "method" : "GET",
+                        "name" : "read_config",
+                        "parameters" : {
+                           "additionalProperties" : 1,
+                           "properties" : {
+                              "remote" : {
+                                 "description" : "Proxmox Backup Server ID.",
+                                 "format" : "pve-configid",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "admin",
+                              "audit"
+                           ]
+                        },
+                        "proxyto" : "master",
+                        "returns" : {}
+                     },
+                     "PUT" : {
+                        "allowtoken" : 1,
+                        "description" : "Update PBS remote settings.",
+                        "method" : "PUT",
+                        "name" : "update_config",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "datastore" : {
+                                 "description" : "Proxmox Backup Server datastore name.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "delete" : {
+                                 "description" : "A list of settings you want to delete.",
+                                 "format" : "pve-configid-list",
+                                 "maxLength" : 4096,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "digest" : {
+                                 "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
+                                 "maxLength" : 40,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "disable" : {
+                                 "description" : "Flag to disable (deactivate) the entry.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "fingerprint" : {
+                                 "description" : "Certificate SHA 256 fingerprint.",
+                                 "optional" : 1,
+                                 "pattern" : "([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}",
+                                 "type" : "string"
+                              },
+                              "keep-daily" : {
+                                 "description" : "Keep backups for the last <N> different days. If there is more than one backup for a single day, only the latest one is kept.",
+                                 "format_description" : "N",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<N>"
+                              },
+                              "keep-hourly" : {
+                                 "description" : "Keep backups for the last <N> different hours. If there is more than one backup for a single hour, only the latest one is kept.",
+                                 "format_description" : "N",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<N>"
+                              },
+                              "keep-last" : {
+                                 "description" : "Keep the last <N> backups.",
+                                 "format_description" : "N",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<N>"
+                              },
+                              "keep-monthly" : {
+                                 "description" : "Keep backups for the last <N> different months. If there is more than one backup for a single month, only the latest one is kept.",
+                                 "format_description" : "N",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<N>"
+                              },
+                              "keep-weekly" : {
+                                 "description" : "Keep backups for the last <N> different weeks. If there ismore than one backup for a single week, only the latest one is kept.",
+                                 "format_description" : "N",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<N>"
+                              },
+                              "keep-yearly" : {
+                                 "description" : "Keep backups for the last <N> different years. If there is more than one backup for a single year, only the latest one is kept.",
+                                 "format_description" : "N",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<N>"
+                              },
+                              "password" : {
+                                 "description" : "Password or API token secret for the user on the Proxmox Backup Server.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "remote" : {
+                                 "description" : "Proxmox Backup Server ID.",
+                                 "format" : "pve-configid",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "server" : {
+                                 "description" : "Proxmox Backup Server address.",
+                                 "format" : "address",
+                                 "maxLength" : 256,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "username" : {
+                                 "description" : "Username or API token ID on the Proxmox Backup Server",
+                                 "maxLength" : 512,
+                                 "minLength" : 3,
+                                 "optional" : 1,
+                                 "pattern" : "(?:[^\\s\\/\\\\@]+\\@[^\\s\\/\\\\@]+)",
+                                 "type" : "string"
+                              }
+                           },
+                           "type" : "object"
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "admin"
+                           ]
+                        },
+                        "protected" : 1,
+                        "proxyto" : "master",
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     }
+                  },
+                  "leaf" : 1,
+                  "path" : "/config/pbs/{remote}",
+                  "text" : "{remote}"
+               }
+            ],
             "info" : {
                "GET" : {
                   "allowtoken" : 1,
-                  "description" : "Read admin configuration properties.",
+                  "description" : "List all configured Proxmox Backup Server instances.",
                   "method" : "GET",
-                  "name" : "read_admin_section",
+                  "name" : "list",
                   "parameters" : {
                      "additionalProperties" : 0
                   },
@@ -8515,79 +8707,317 @@ var pmgapi = [
                         "audit"
                      ]
                   },
+                  "protected" : 1,
                   "proxyto" : "master",
                   "returns" : {
-                     "type" : "object"
+                     "items" : {
+                        "additionalProperties" : 0,
+                        "properties" : {
+                           "datastore" : {
+                              "description" : "Proxmox Backup Server datastore name.",
+                              "optional" : 0,
+                              "type" : "string"
+                           },
+                           "disable" : {
+                              "description" : "Flag to disable (deactivate) the entry.",
+                              "optional" : 1,
+                              "type" : "boolean"
+                           },
+                           "fingerprint" : {
+                              "description" : "Certificate SHA 256 fingerprint.",
+                              "optional" : 1,
+                              "pattern" : "([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}",
+                              "type" : "string"
+                           },
+                           "keep-daily" : {
+                              "description" : "Keep backups for the last <N> different days. If there is more than one backup for a single day, only the latest one is kept.",
+                              "format_description" : "N",
+                              "minimum" : "0",
+                              "optional" : 1,
+                              "type" : "integer"
+                           },
+                           "keep-hourly" : {
+                              "description" : "Keep backups for the last <N> different hours. If there is more than one backup for a single hour, only the latest one is kept.",
+                              "format_description" : "N",
+                              "minimum" : "0",
+                              "optional" : 1,
+                              "type" : "integer"
+                           },
+                           "keep-last" : {
+                              "description" : "Keep the last <N> backups.",
+                              "format_description" : "N",
+                              "minimum" : "0",
+                              "optional" : 1,
+                              "type" : "integer"
+                           },
+                           "keep-monthly" : {
+                              "description" : "Keep backups for the last <N> different months. If there is more than one backup for a single month, only the latest one is kept.",
+                              "format_description" : "N",
+                              "minimum" : "0",
+                              "optional" : 1,
+                              "type" : "integer"
+                           },
+                           "keep-weekly" : {
+                              "description" : "Keep backups for the last <N> different weeks. If there ismore than one backup for a single week, only the latest one is kept.",
+                              "format_description" : "N",
+                              "minimum" : "0",
+                              "optional" : 1,
+                              "type" : "integer"
+                           },
+                           "keep-yearly" : {
+                              "description" : "Keep backups for the last <N> different years. If there is more than one backup for a single year, only the latest one is kept.",
+                              "format_description" : "N",
+                              "minimum" : "0",
+                              "optional" : 1,
+                              "type" : "integer"
+                           },
+                           "password" : {
+                              "description" : "Password or API token secret for the user on the Proxmox Backup Server.",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "remote" : {
+                              "description" : "Proxmox Backup Server ID.",
+                              "format" : "pve-configid",
+                              "type" : "string"
+                           },
+                           "server" : {
+                              "description" : "Proxmox Backup Server address.",
+                              "format" : "address",
+                              "maxLength" : 256,
+                              "optional" : 0,
+                              "type" : "string"
+                           },
+                           "username" : {
+                              "description" : "Username or API token ID on the Proxmox Backup Server",
+                              "maxLength" : 512,
+                              "minLength" : 3,
+                              "optional" : 1,
+                              "pattern" : "(?:[^\\s\\/\\\\@]+\\@[^\\s\\/\\\\@]+)",
+                              "type" : "string"
+                           }
+                        },
+                        "type" : "object"
+                     },
+                     "links" : [
+                        {
+                           "href" : "{remote}",
+                           "rel" : "child"
+                        }
+                     ],
+                     "type" : "array"
                   }
                },
-               "PUT" : {
+               "POST" : {
                   "allowtoken" : 1,
-                  "description" : "Update admin configuration properties.",
-                  "method" : "PUT",
-                  "name" : "update_admin_section",
+                  "description" : "Add Proxmox Backup Server remote instance.",
+                  "method" : "POST",
+                  "name" : "create",
                   "parameters" : {
                      "additionalProperties" : 0,
                      "properties" : {
-                        "advfilter" : {
-                           "default" : 1,
-                           "description" : "Use advanced filters for statistic.",
-                           "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
+                        "datastore" : {
+                           "description" : "Proxmox Backup Server datastore name.",
+                           "optional" : 0,
+                           "type" : "string",
+                           "typetext" : "<string>"
                         },
-                        "avast" : {
-                           "default" : 0,
-                           "description" : "Use Avast Virus Scanner (/usr/bin/scan). You need to buy and install 'Avast Core Security' before you can enable this feature.",
+                        "disable" : {
+                           "description" : "Flag to disable (deactivate) the entry.",
                            "optional" : 1,
                            "type" : "boolean",
                            "typetext" : "<boolean>"
                         },
-                        "clamav" : {
-                           "default" : 1,
-                           "description" : "Use ClamAV Virus Scanner. This is the default virus scanner and is enabled by default.",
+                        "fingerprint" : {
+                           "description" : "Certificate SHA 256 fingerprint.",
                            "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
+                           "pattern" : "([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}",
+                           "type" : "string"
                         },
-                        "custom_check" : {
-                           "default" : 0,
-                           "description" : "Use Custom Check Script. The script has to take the defined arguments and can return Virus findings or a Spamscore.",
+                        "keep-daily" : {
+                           "description" : "Keep backups for the last <N> different days. If there is more than one backup for a single day, only the latest one is kept.",
+                           "format_description" : "N",
+                           "minimum" : "0",
                            "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
+                           "type" : "integer",
+                           "typetext" : "<N>"
                         },
-                        "custom_check_path" : {
-                           "default" : "/usr/local/bin/pmg-custom-check",
-                           "description" : "Absolute Path to the Custom Check Script",
+                        "keep-hourly" : {
+                           "description" : "Keep backups for the last <N> different hours. If there is more than one backup for a single hour, only the latest one is kept.",
+                           "format_description" : "N",
+                           "minimum" : "0",
                            "optional" : 1,
-                           "pattern" : "^/([^/\\0]+\\/)+[^/\\0]+$",
-                           "type" : "string"
+                           "type" : "integer",
+                           "typetext" : "<N>"
                         },
-                        "dailyreport" : {
-                           "default" : 1,
-                           "description" : "Send daily reports.",
+                        "keep-last" : {
+                           "description" : "Keep the last <N> backups.",
+                           "format_description" : "N",
+                           "minimum" : "0",
                            "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
+                           "type" : "integer",
+                           "typetext" : "<N>"
                         },
-                        "delete" : {
-                           "description" : "A list of settings you want to delete.",
-                           "format" : "pve-configid-list",
-                           "maxLength" : 4096,
+                        "keep-monthly" : {
+                           "description" : "Keep backups for the last <N> different months. If there is more than one backup for a single month, only the latest one is kept.",
+                           "format_description" : "N",
+                           "minimum" : "0",
                            "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
+                           "type" : "integer",
+                           "typetext" : "<N>"
                         },
-                        "demo" : {
-                           "default" : 0,
-                           "description" : "Demo mode - do not start SMTP filter.",
+                        "keep-weekly" : {
+                           "description" : "Keep backups for the last <N> different weeks. If there ismore than one backup for a single week, only the latest one is kept.",
+                           "format_description" : "N",
+                           "minimum" : "0",
                            "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
+                           "type" : "integer",
+                           "typetext" : "<N>"
                         },
-                        "digest" : {
-                           "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                           "maxLength" : 40,
+                        "keep-yearly" : {
+                           "description" : "Keep backups for the last <N> different years. If there is more than one backup for a single year, only the latest one is kept.",
+                           "format_description" : "N",
+                           "minimum" : "0",
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<N>"
+                        },
+                        "password" : {
+                           "description" : "Password or API token secret for the user on the Proxmox Backup Server.",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "remote" : {
+                           "description" : "Proxmox Backup Server ID.",
+                           "format" : "pve-configid",
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "server" : {
+                           "description" : "Proxmox Backup Server address.",
+                           "format" : "address",
+                           "maxLength" : 256,
+                           "optional" : 0,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "username" : {
+                           "description" : "Username or API token ID on the Proxmox Backup Server",
+                           "maxLength" : 512,
+                           "minLength" : 3,
+                           "optional" : 1,
+                           "pattern" : "(?:[^\\s\\/\\\\@]+\\@[^\\s\\/\\\\@]+)",
+                           "type" : "string"
+                        }
+                     },
+                     "type" : "object"
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "admin"
+                     ]
+                  },
+                  "protected" : 1,
+                  "proxyto" : "master",
+                  "returns" : {
+                     "type" : "null"
+                  }
+               }
+            },
+            "leaf" : 0,
+            "path" : "/config/pbs",
+            "text" : "pbs"
+         },
+         {
+            "info" : {
+               "GET" : {
+                  "allowtoken" : 1,
+                  "description" : "Read admin configuration properties.",
+                  "method" : "GET",
+                  "name" : "read_admin_section",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "admin",
+                        "audit"
+                     ]
+                  },
+                  "proxyto" : "master",
+                  "returns" : {
+                     "type" : "object"
+                  }
+               },
+               "PUT" : {
+                  "allowtoken" : 1,
+                  "description" : "Update admin configuration properties.",
+                  "method" : "PUT",
+                  "name" : "update_admin_section",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "advfilter" : {
+                           "default" : 1,
+                           "description" : "Use advanced filters for statistic.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "avast" : {
+                           "default" : 0,
+                           "description" : "Use Avast Virus Scanner (/usr/bin/scan). You need to buy and install 'Avast Core Security' before you can enable this feature.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "clamav" : {
+                           "default" : 1,
+                           "description" : "Use ClamAV Virus Scanner. This is the default virus scanner and is enabled by default.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "custom_check" : {
+                           "default" : 0,
+                           "description" : "Use Custom Check Script. The script has to take the defined arguments and can return Virus findings or a Spamscore.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "custom_check_path" : {
+                           "default" : "/usr/local/bin/pmg-custom-check",
+                           "description" : "Absolute Path to the Custom Check Script",
+                           "optional" : 1,
+                           "pattern" : "^/([^/\\0]+\\/)+[^/\\0]+$",
+                           "type" : "string"
+                        },
+                        "dailyreport" : {
+                           "default" : 1,
+                           "description" : "Send daily reports.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "delete" : {
+                           "description" : "A list of settings you want to delete.",
+                           "format" : "pve-configid-list",
+                           "maxLength" : 4096,
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "demo" : {
+                           "default" : 0,
+                           "description" : "Demo mode - do not start SMTP filter.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "digest" : {
+                           "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
+                           "maxLength" : 40,
                            "optional" : 1,
                            "type" : "string",
                            "typetext" : "<string>"
@@ -9357,6 +9787,13 @@ var pmgapi = [
                            "optional" : 1,
                            "type" : "string"
                         },
+                        "quarantinelink" : {
+                           "default" : 0,
+                           "description" : "Enables user self-service for Quarantine Links. Caution: this is accessible without authentication",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
                         "reportstyle" : {
                            "default" : "verbose",
                            "description" : "Spam report style.",
@@ -9484,7 +9921,7 @@ var pmgapi = [
             "info" : {
                "POST" : {
                   "allowtoken" : 1,
-                  "description" : "Test Regex",
+                  "description" : "Test Regex ignoring case",
                   "method" : "POST",
                   "name" : "regextest",
                   "parameters" : {
@@ -9844,6 +10281,28 @@ var pmgapi = [
                                              ],
                                              "type" : "string"
                                           },
+                                          "sortdir" : {
+                                             "description" : "Sort direction.",
+                                             "enum" : [
+                                                "ASC",
+                                                "DESC"
+                                             ],
+                                             "optional" : 1,
+                                             "requires" : "sortfield",
+                                             "type" : "string"
+                                          },
+                                          "sortfield" : {
+                                             "description" : "Sort field.",
+                                             "enum" : [
+                                                "arrival_time",
+                                                "message_size",
+                                                "sender",
+                                                "receiver",
+                                                "reason"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
                                           "start" : {
                                              "minimum" : 0,
                                              "optional" : 1,
@@ -11635,6 +12094,28 @@ var pmgapi = [
                },
                {
                   "info" : {
+                     "DELETE" : {
+                        "allowtoken" : 1,
+                        "description" : "Delete subscription key.",
+                        "method" : "DELETE",
+                        "name" : "delete",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "node" : {
+                                 "description" : "The cluster node name.",
+                                 "format" : "pve-node",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              }
+                           }
+                        },
+                        "protected" : 1,
+                        "proxyto" : "node",
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     },
                      "GET" : {
                         "allowtoken" : 1,
                         "description" : "Read subscription info.",
@@ -12231,125 +12712,712 @@ var pmgapi = [
                                        "pattern" : "pmg-backup_[0-9A-Za-z_-]+\\.tgz",
                                        "type" : "string"
                                     },
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                    "node" : {
+                                       "description" : "The cluster node name.",
+                                       "format" : "pve-node",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "admin"
+                                 ]
+                              },
+                              "protected" : 1,
+                              "proxyto" : "node",
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           },
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Download a backup file.",
+                              "download" : 1,
+                              "method" : "GET",
+                              "name" : "download",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "filename" : {
+                                       "description" : "The backup file name.",
+                                       "maxLength" : 256,
+                                       "minLength" : 4,
+                                       "pattern" : "pmg-backup_[0-9A-Za-z_-]+\\.tgz",
+                                       "type" : "string"
+                                    },
+                                    "node" : {
+                                       "description" : "The cluster node name.",
+                                       "format" : "pve-node",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "admin"
+                                 ]
+                              },
+                              "protected" : 1,
+                              "proxyto" : "node",
+                              "returns" : {
+                                 "type" : "string"
+                              }
+                           },
+                           "POST" : {
+                              "allowtoken" : 1,
+                              "description" : "Restore the system configuration.",
+                              "method" : "POST",
+                              "name" : "restore",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "config" : {
+                                       "default" : 0,
+                                       "description" : "Restore system configuration.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "database" : {
+                                       "default" : 1,
+                                       "description" : "Restore the rule database. This is the default.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "filename" : {
+                                       "description" : "The backup file name.",
+                                       "maxLength" : 256,
+                                       "minLength" : 4,
+                                       "pattern" : "pmg-backup_[0-9A-Za-z_-]+\\.tgz",
+                                       "type" : "string"
+                                    },
+                                    "node" : {
+                                       "description" : "The cluster node name.",
+                                       "format" : "pve-node",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "statistic" : {
+                                       "default" : 0,
+                                       "description" : "Restore statistic databases. Only considered when you restore the 'database'.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "admin"
+                                 ]
+                              },
+                              "protected" : 1,
+                              "proxyto" : "node",
+                              "returns" : {
+                                 "type" : "string"
+                              }
+                           }
+                        },
+                        "leaf" : 1,
+                        "path" : "/nodes/{node}/backup/{filename}",
+                        "text" : "{filename}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "List all stored backups (files named proxmox-backup_{DATE}.tgz).",
+                        "method" : "GET",
+                        "name" : "list",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "node" : {
+                                 "description" : "The cluster node name.",
+                                 "format" : "pve-node",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "admin",
+                              "audit"
+                           ]
+                        },
+                        "protected" : 1,
+                        "proxyto" : "node",
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "filename" : {
+                                    "description" : "The backup file name.",
+                                    "maxLength" : 256,
+                                    "minLength" : 4,
+                                    "pattern" : "pmg-backup_[0-9A-Za-z_-]+\\.tgz",
+                                    "type" : "string"
+                                 },
+                                 "size" : {
+                                    "description" : "Size of backup file in bytes.",
+                                    "type" : "integer"
+                                 },
+                                 "timestamp" : {
+                                    "description" : "Backup timestamp (Unix epoch).",
+                                    "type" : "integer"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{filename}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
+                        }
+                     },
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Backup the system configuration.",
+                        "method" : "POST",
+                        "name" : "backup",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "node" : {
+                                 "description" : "The cluster node name.",
+                                 "format" : "pve-node",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "statistic" : {
+                                 "default" : 1,
+                                 "description" : "Backup statistic databases.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "admin"
+                           ]
+                        },
+                        "protected" : 1,
+                        "proxyto" : "node",
+                        "returns" : {
+                           "type" : "string"
+                        }
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/nodes/{node}/backup",
+                  "text" : "backup"
+               },
+               {
+                  "children" : [
+                     {
+                        "children" : [
+                           {
+                              "children" : [
+                                 {
+                                    "children" : [
+                                       {
+                                          "info" : {
+                                             "DELETE" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Forget a snapshot",
+                                                "method" : "DELETE",
+                                                "name" : "forget_snapshot",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "backup-id" : {
+                                                         "description" : "ID (hostname) of backup snapshot",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "backup-time" : {
+                                                         "description" : "Backup time in RFC 3339 format",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "remote" : {
+                                                         "description" : "Proxmox Backup Server ID.",
+                                                         "format" : "pve-configid",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "admin",
+                                                      "audit"
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "proxyto" : "node",
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             },
+                                             "POST" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Restore the system configuration.",
+                                                "method" : "POST",
+                                                "name" : "restore",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "backup-id" : {
+                                                         "description" : "backup-id (hostname) of backup snapshot",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "backup-time" : {
+                                                         "description" : "backup-time to restore",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "config" : {
+                                                         "default" : 0,
+                                                         "description" : "Restore system configuration.",
+                                                         "optional" : 1,
+                                                         "type" : "boolean",
+                                                         "typetext" : "<boolean>"
+                                                      },
+                                                      "database" : {
+                                                         "default" : 1,
+                                                         "description" : "Restore the rule database. This is the default.",
+                                                         "optional" : 1,
+                                                         "type" : "boolean",
+                                                         "typetext" : "<boolean>"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "remote" : {
+                                                         "description" : "Proxmox Backup Server ID.",
+                                                         "format" : "pve-configid",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "statistic" : {
+                                                         "default" : 0,
+                                                         "description" : "Restore statistic databases. Only considered when you restore the 'database'.",
+                                                         "optional" : 1,
+                                                         "type" : "boolean",
+                                                         "typetext" : "<boolean>"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "admin"
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "proxyto" : "node",
+                                                "returns" : {
+                                                   "type" : "string"
+                                                }
+                                             }
+                                          },
+                                          "leaf" : 1,
+                                          "path" : "/nodes/{node}/pbs/{remote}/snapshot/{backup-id}/{backup-time}",
+                                          "text" : "{backup-time}"
+                                       }
+                                    ],
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Get snapshots from a specific ID stored on remote.",
+                                          "method" : "GET",
+                                          "name" : "get_group_snapshots",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "backup-id" : {
+                                                   "description" : "ID (hostname) of backup snapshot",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "remote" : {
+                                                   "description" : "Proxmox Backup Server ID.",
+                                                   "format" : "pve-configid",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "admin",
+                                                "audit"
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {
+                                                   "backup-id" : {
+                                                      "type" : "string"
+                                                   },
+                                                   "backup-time" : {
+                                                      "type" : "string"
+                                                   },
+                                                   "ctime" : {
+                                                      "type" : "string"
+                                                   },
+                                                   "size" : {
+                                                      "type" : "integer"
+                                                   }
+                                                },
+                                                "type" : "object"
+                                             },
+                                             "links" : [
+                                                {
+                                                   "href" : "{backup-time}",
+                                                   "rel" : "child"
+                                                }
+                                             ],
+                                             "type" : "array"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 0,
+                                    "path" : "/nodes/{node}/pbs/{remote}/snapshot/{backup-id}",
+                                    "text" : "{backup-id}"
+                                 }
+                              ],
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Get snapshots stored on remote.",
+                                    "method" : "GET",
+                                    "name" : "get_snapshots",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "remote" : {
+                                             "description" : "Proxmox Backup Server ID.",
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "admin",
+                                          "audit"
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "items" : {
+                                          "properties" : {
+                                             "backup-id" : {
+                                                "type" : "string"
+                                             },
+                                             "backup-time" : {
+                                                "type" : "string"
+                                             },
+                                             "ctime" : {
+                                                "type" : "string"
+                                             },
+                                             "size" : {
+                                                "type" : "integer"
+                                             }
+                                          },
+                                          "type" : "object"
+                                       },
+                                       "links" : [
+                                          {
+                                             "href" : "{backup-id}",
+                                             "rel" : "child"
+                                          }
+                                       ],
+                                       "type" : "array"
+                                    }
+                                 },
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Create a new backup and prune the backup group afterwards, if configured.",
+                                    "method" : "POST",
+                                    "name" : "run_backup",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "remote" : {
+                                             "description" : "Proxmox Backup Server ID.",
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "admin",
+                                          "audit"
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 0,
+                              "path" : "/nodes/{node}/pbs/{remote}/snapshot",
+                              "text" : "snapshot"
+                           },
+                           {
+                              "info" : {
+                                 "DELETE" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Delete backup schedule",
+                                    "method" : "DELETE",
+                                    "name" : "delete_timer",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "remote" : {
+                                             "description" : "Proxmox Backup Server ID.",
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "admin",
+                                          "audit"
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
+                                 },
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Get timer specification",
+                                    "method" : "GET",
+                                    "name" : "list_timer",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "remote" : {
+                                             "description" : "Proxmox Backup Server ID.",
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "admin",
+                                          "audit"
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "properties" : {
+                                          "delay" : {
+                                             "default" : "5min",
+                                             "description" : "Randomized delay to add to the starttime (RandomizedDelaySec setting of the systemd.timer)",
+                                             "optional" : 1,
+                                             "pattern" : "[0-9a-zA-Z. ]+",
+                                             "type" : "string"
+                                          },
+                                          "next-run" : {
+                                             "description" : "The date time of the next run, in server locale.",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "remote" : {
+                                             "description" : "Proxmox Backup Server remote ID.",
+                                             "format" : "pve-configid",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "schedule" : {
+                                             "default" : "daily",
+                                             "description" : "Schedule for the backup (OnCalendar setting of the systemd.timer)",
+                                             "optional" : 1,
+                                             "pattern" : "[0-9a-zA-Z*.:,\\-/ ]+",
+                                             "type" : "string"
+                                          },
+                                          "unitfile" : {
+                                             "description" : "unit file for the systemd.timer unit",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 },
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Create backup schedule",
+                                    "method" : "POST",
+                                    "name" : "create_timer",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "delay" : {
+                                             "default" : "5min",
+                                             "description" : "Randomized delay to add to the starttime (RandomizedDelaySec setting of the systemd.timer)",
+                                             "optional" : 1,
+                                             "pattern" : "[0-9a-zA-Z. ]+",
+                                             "type" : "string"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "remote" : {
+                                             "description" : "Proxmox Backup Server ID.",
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "schedule" : {
+                                             "default" : "daily",
+                                             "description" : "Schedule for the backup (OnCalendar setting of the systemd.timer)",
+                                             "optional" : 1,
+                                             "pattern" : "[0-9a-zA-Z*.:,\\-/ ]+",
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "admin",
+                                          "audit"
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "type" : "null"
                                     }
                                  }
                               },
-                              "permissions" : {
-                                 "check" : [
-                                    "admin"
-                                 ]
-                              },
-                              "protected" : 1,
-                              "proxyto" : "node",
-                              "returns" : {
-                                 "type" : "null"
-                              }
-                           },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/pbs/{remote}/timer",
+                              "text" : "timer"
+                           }
+                        ],
+                        "info" : {
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "Download a backup file.",
-                              "download" : 1,
+                              "description" : "Backup Job index.",
                               "method" : "GET",
-                              "name" : "download",
+                              "name" : "remote_index",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "filename" : {
-                                       "description" : "The backup file name.",
-                                       "maxLength" : 256,
-                                       "minLength" : 4,
-                                       "pattern" : "pmg-backup_[0-9A-Za-z_-]+\\.tgz",
-                                       "type" : "string"
-                                    },
                                     "node" : {
                                        "description" : "The cluster node name.",
                                        "format" : "pve-node",
                                        "type" : "string",
                                        "typetext" : "<string>"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "admin"
-                                 ]
-                              },
-                              "protected" : 1,
-                              "proxyto" : "node",
-                              "returns" : {
-                                 "type" : "string"
-                              }
-                           },
-                           "POST" : {
-                              "allowtoken" : 1,
-                              "description" : "Restore the system configuration.",
-                              "method" : "POST",
-                              "name" : "restore",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "config" : {
-                                       "default" : 0,
-                                       "description" : "Restore system configuration.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "database" : {
-                                       "default" : 1,
-                                       "description" : "Restore the rule database. This is the default.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "filename" : {
-                                       "description" : "The backup file name.",
-                                       "maxLength" : 256,
-                                       "minLength" : 4,
-                                       "pattern" : "pmg-backup_[0-9A-Za-z_-]+\\.tgz",
-                                       "type" : "string"
                                     },
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
+                                    "remote" : {
+                                       "description" : "Proxmox Backup Server ID.",
+                                       "format" : "pve-configid",
                                        "type" : "string",
                                        "typetext" : "<string>"
-                                    },
-                                    "statistic" : {
-                                       "default" : 0,
-                                       "description" : "Restore statistic databases. Only considered when you restore the 'database'.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
                                     }
                                  }
                               },
-                              "permissions" : {
-                                 "check" : [
-                                    "admin"
-                                 ]
-                              },
-                              "protected" : 1,
-                              "proxyto" : "node",
                               "returns" : {
-                                 "type" : "string"
+                                 "items" : {
+                                    "properties" : {
+                                       "section" : {
+                                          "type" : "string"
+                                       }
+                                    },
+                                    "type" : "object"
+                                 },
+                                 "links" : [
+                                    {
+                                       "href" : "{section}",
+                                       "rel" : "child"
+                                    }
+                                 ],
+                                 "type" : "array"
                               }
                            }
                         },
-                        "leaf" : 1,
-                        "path" : "/nodes/{node}/backup/{filename}",
-                        "text" : "{filename}"
+                        "leaf" : 0,
+                        "path" : "/nodes/{node}/pbs/{remote}",
+                        "text" : "{remote}"
                      }
                   ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "List all stored backups (files named proxmox-backup_{DATE}.tgz).",
+                        "description" : "List all configured Proxmox Backup Server jobs.",
                         "method" : "GET",
                         "name" : "list",
                         "parameters" : {
@@ -12373,72 +13441,107 @@ var pmgapi = [
                         "proxyto" : "node",
                         "returns" : {
                            "items" : {
+                              "additionalProperties" : 0,
                               "properties" : {
-                                 "filename" : {
-                                    "description" : "The backup file name.",
-                                    "maxLength" : 256,
-                                    "minLength" : 4,
-                                    "pattern" : "pmg-backup_[0-9A-Za-z_-]+\\.tgz",
+                                 "datastore" : {
+                                    "description" : "Proxmox Backup Server datastore name.",
+                                    "optional" : 0,
                                     "type" : "string"
                                  },
-                                 "size" : {
-                                    "description" : "Size of backup file in bytes.",
+                                 "disable" : {
+                                    "description" : "Flag to disable (deactivate) the entry.",
+                                    "optional" : 1,
+                                    "type" : "boolean"
+                                 },
+                                 "fingerprint" : {
+                                    "description" : "Certificate SHA 256 fingerprint.",
+                                    "optional" : 1,
+                                    "pattern" : "([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}",
+                                    "type" : "string"
+                                 },
+                                 "keep-daily" : {
+                                    "description" : "Keep backups for the last <N> different days. If there is more than one backup for a single day, only the latest one is kept.",
+                                    "format_description" : "N",
+                                    "minimum" : "0",
+                                    "optional" : 1,
                                     "type" : "integer"
                                  },
-                                 "timestamp" : {
-                                    "description" : "Backup timestamp (Unix epoch).",
+                                 "keep-hourly" : {
+                                    "description" : "Keep backups for the last <N> different hours. If there is more than one backup for a single hour, only the latest one is kept.",
+                                    "format_description" : "N",
+                                    "minimum" : "0",
+                                    "optional" : 1,
+                                    "type" : "integer"
+                                 },
+                                 "keep-last" : {
+                                    "description" : "Keep the last <N> backups.",
+                                    "format_description" : "N",
+                                    "minimum" : "0",
+                                    "optional" : 1,
+                                    "type" : "integer"
+                                 },
+                                 "keep-monthly" : {
+                                    "description" : "Keep backups for the last <N> different months. If there is more than one backup for a single month, only the latest one is kept.",
+                                    "format_description" : "N",
+                                    "minimum" : "0",
+                                    "optional" : 1,
                                     "type" : "integer"
+                                 },
+                                 "keep-weekly" : {
+                                    "description" : "Keep backups for the last <N> different weeks. If there ismore than one backup for a single week, only the latest one is kept.",
+                                    "format_description" : "N",
+                                    "minimum" : "0",
+                                    "optional" : 1,
+                                    "type" : "integer"
+                                 },
+                                 "keep-yearly" : {
+                                    "description" : "Keep backups for the last <N> different years. If there is more than one backup for a single year, only the latest one is kept.",
+                                    "format_description" : "N",
+                                    "minimum" : "0",
+                                    "optional" : 1,
+                                    "type" : "integer"
+                                 },
+                                 "password" : {
+                                    "description" : "Password or API token secret for the user on the Proxmox Backup Server.",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "remote" : {
+                                    "description" : "Proxmox Backup Server ID.",
+                                    "format" : "pve-configid",
+                                    "type" : "string"
+                                 },
+                                 "server" : {
+                                    "description" : "Proxmox Backup Server address.",
+                                    "format" : "address",
+                                    "maxLength" : 256,
+                                    "optional" : 0,
+                                    "type" : "string"
+                                 },
+                                 "username" : {
+                                    "description" : "Username or API token ID on the Proxmox Backup Server",
+                                    "maxLength" : 512,
+                                    "minLength" : 3,
+                                    "optional" : 1,
+                                    "pattern" : "(?:[^\\s\\/\\\\@]+\\@[^\\s\\/\\\\@]+)",
+                                    "type" : "string"
                                  }
                               },
                               "type" : "object"
                            },
                            "links" : [
                               {
-                                 "href" : "{filename}",
+                                 "href" : "{remote}",
                                  "rel" : "child"
                               }
                            ],
                            "type" : "array"
                         }
-                     },
-                     "POST" : {
-                        "allowtoken" : 1,
-                        "description" : "Backup the system configuration.",
-                        "method" : "POST",
-                        "name" : "backup",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "node" : {
-                                 "description" : "The cluster node name.",
-                                 "format" : "pve-node",
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "statistic" : {
-                                 "default" : 1,
-                                 "description" : "Backup statistic databases.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              }
-                           }
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "admin"
-                           ]
-                        },
-                        "protected" : 1,
-                        "proxyto" : "node",
-                        "returns" : {
-                           "type" : "string"
-                        }
                      }
                   },
                   "leaf" : 0,
-                  "path" : "/nodes/{node}/backup",
-                  "text" : "backup"
+                  "path" : "/nodes/{node}/pbs",
+                  "text" : "pbs"
                },
                {
                   "info" : {
@@ -14620,6 +15723,38 @@ var pmgapi = [
             "leaf" : 1,
             "path" : "/quarantine/download",
             "text" : "download"
+         },
+         {
+            "info" : {
+               "POST" : {
+                  "allowtoken" : 1,
+                  "description" : "Send Quarantine link to given e-mail.",
+                  "method" : "POST",
+                  "name" : "sendlink",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "mail" : {
+                           "description" : "Email Address (allow most characters).",
+                           "maxLength" : 512,
+                           "minLength" : 3,
+                           "pattern" : "(?:[^\\s\\/\\\\@]+\\@[^\\s\\/\\\\@]+)",
+                           "type" : "string"
+                        }
+                     }
+                  },
+                  "permissions" : {
+                     "user" : "world"
+                  },
+                  "protected" : 1,
+                  "returns" : {
+                     "type" : "null"
+                  }
+               }
+            },
+            "leaf" : 1,
+            "path" : "/quarantine/sendlink",
+            "text" : "sendlink"
          }
       ],
       "info" : {
index 346d8c9cf5f6e2465c07ec58052b60d8aeb51df3..735d06a6324501f7b6b1e65148c7c52a3d35464c 100644 (file)
@@ -300,6 +300,10 @@ Quarantine Port. Useful if you have a reverse proxy or port forwarding for the w
 
 Quarantine Webinterface Protocol. Useful if you have a reverse proxy for the webinterface. Only used for the generated Spam report.
 
+`quarantinelink`: `<boolean>` ('default =' `0`)::
+
+Enables user self-service for Quarantine Links. Caution: this is accessible without authentication
+
 `reportstyle`: `<custom | none | short | verbose>` ('default =' `verbose`)::
 
 Spam report style.
index 52b7d641b1b335f2bad13d8ea2a57d0f4a363156..0fdb686de9a2d8580bbf5293fb3dd45c838bd9dc 100644 (file)
@@ -26,6 +26,10 @@ Quarantine Port. Useful if you have a reverse proxy or port forwarding for the w
 
 Quarantine Webinterface Protocol. Useful if you have a reverse proxy for the webinterface. Only used for the generated Spam report.
 
+`quarantinelink`: `<boolean>` ('default =' `0`)::
+
+Enables user self-service for Quarantine Links. Caution: this is accessible without authentication
+
 `reportstyle`: `<custom | none | short | verbose>` ('default =' `verbose`)::
 
 Spam report style.
index e435f7125d969d01b7725eb181b39c48b7fd80d0..8ac4da874d351bcb9997210470ef9972578ac367 100644 (file)
@@ -24,6 +24,230 @@ Verbose output format.
 
 List all stored backups (files named proxmox-backup_{DATE}.tgz).
 
+*pmgbackup proxmox-backup backup* `<remote>`
+
+Create a new backup and prune the backup group afterwards, if configured.
+
+`<remote>`: `<string>` ::
+
+Proxmox Backup Server ID.
+
+*pmgbackup proxmox-backup forget* `<remote> <backup-id> <backup-time>`
+
+Forget a snapshot
+
+`<remote>`: `<string>` ::
+
+Proxmox Backup Server ID.
+
+`<backup-id>`: `<string>` ::
+
+ID (hostname) of backup snapshot
+
+`<backup-time>`: `<string>` ::
+
+Backup time in RFC 3339 format
+
+*pmgbackup proxmox-backup job create* `<remote>` `[OPTIONS]`
+
+Create backup schedule
+
+`<remote>`: `<string>` ::
+
+Proxmox Backup Server ID.
+
+`--delay` `[0-9a-zA-Z. ]+` ('default =' `5min`)::
+
+Randomized delay to add to the starttime (RandomizedDelaySec setting of the systemd.timer)
+
+`--schedule` `[0-9a-zA-Z*.:,\-/ ]+` ('default =' `daily`)::
+
+Schedule for the backup (OnCalendar setting of the systemd.timer)
+
+*pmgbackup proxmox-backup job delete* `<remote>`
+
+Delete backup schedule
+
+`<remote>`: `<string>` ::
+
+Proxmox Backup Server ID.
+
+*pmgbackup proxmox-backup job show* `<remote>` `[FORMAT_OPTIONS]`
+
+Get timer specification
+
+`<remote>`: `<string>` ::
+
+Proxmox Backup Server ID.
+
+*pmgbackup proxmox-backup list* `<remote>` `[FORMAT_OPTIONS]`
+
+Get snapshots stored on remote.
+
+`<remote>`: `<string>` ::
+
+Proxmox Backup Server ID.
+
+*pmgbackup proxmox-backup remote add* `<remote> --datastore <string> --server <string>` `[OPTIONS]`
+
+Add Proxmox Backup Server remote instance.
+
+`<remote>`: `<string>` ::
+
+Proxmox Backup Server ID.
+
+`--datastore` `<string>` ::
+
+Proxmox Backup Server datastore name.
+
+`--disable` `<boolean>` ::
+
+Flag to disable (deactivate) the entry.
+
+`--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
+
+Certificate SHA 256 fingerprint.
+
+`--keep-daily` `<N>` ::
+
+Keep backups for the last <N> different days. If there is more than one backup for a single day, only the latest one is kept.
+
+`--keep-hourly` `<N>` ::
+
+Keep backups for the last <N> different hours. If there is more than one backup for a single hour, only the latest one is kept.
+
+`--keep-last` `<N>` ::
+
+Keep the last <N> backups.
+
+`--keep-monthly` `<N>` ::
+
+Keep backups for the last <N> different months. If there is more than one backup for a single month, only the latest one is kept.
+
+`--keep-weekly` `<N>` ::
+
+Keep backups for the last <N> different weeks. If there ismore than one backup for a single week, only the latest one is kept.
+
+`--keep-yearly` `<N>` ::
+
+Keep backups for the last <N> different years. If there is more than one backup for a single year, only the latest one is kept.
+
+`--password` `<password>` ::
+
+Password or API token secret for the user on the Proxmox Backup Server.
+
+`--server` `<string>` ::
+
+Proxmox Backup Server address.
+
+`--username` `(?:[^\s\/\\@]+\@[^\s\/\\@]+)` ::
+
+Username or API token ID on the Proxmox Backup Server
+
+*pmgbackup proxmox-backup remote list* `[FORMAT_OPTIONS]`
+
+List all configured Proxmox Backup Server instances.
+
+*pmgbackup proxmox-backup remote remove* `<remote>`
+
+Delete an PBS remote
+
+`<remote>`: `<string>` ::
+
+Profile ID.
+
+*pmgbackup proxmox-backup remote set* `<remote>` `[OPTIONS]`
+
+Update PBS remote settings.
+
+`<remote>`: `<string>` ::
+
+Proxmox Backup Server ID.
+
+`--datastore` `<string>` ::
+
+Proxmox Backup Server datastore name.
+
+`--delete` `<string>` ::
+
+A list of settings you want to delete.
+
+`--digest` `<string>` ::
+
+Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
+
+`--disable` `<boolean>` ::
+
+Flag to disable (deactivate) the entry.
+
+`--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
+
+Certificate SHA 256 fingerprint.
+
+`--keep-daily` `<N>` ::
+
+Keep backups for the last <N> different days. If there is more than one backup for a single day, only the latest one is kept.
+
+`--keep-hourly` `<N>` ::
+
+Keep backups for the last <N> different hours. If there is more than one backup for a single hour, only the latest one is kept.
+
+`--keep-last` `<N>` ::
+
+Keep the last <N> backups.
+
+`--keep-monthly` `<N>` ::
+
+Keep backups for the last <N> different months. If there is more than one backup for a single month, only the latest one is kept.
+
+`--keep-weekly` `<N>` ::
+
+Keep backups for the last <N> different weeks. If there ismore than one backup for a single week, only the latest one is kept.
+
+`--keep-yearly` `<N>` ::
+
+Keep backups for the last <N> different years. If there is more than one backup for a single year, only the latest one is kept.
+
+`--password` `<password>` ::
+
+Password or API token secret for the user on the Proxmox Backup Server.
+
+`--server` `<string>` ::
+
+Proxmox Backup Server address.
+
+`--username` `(?:[^\s\/\\@]+\@[^\s\/\\@]+)` ::
+
+Username or API token ID on the Proxmox Backup Server
+
+*pmgbackup proxmox-backup restore* `<remote> <backup-id> <backup-time>` `[OPTIONS]`
+
+Restore the system configuration.
+
+`<remote>`: `<string>` ::
+
+Proxmox Backup Server ID.
+
+`<backup-id>`: `<string>` ::
+
+backup-id (hostname) of backup snapshot
+
+`<backup-time>`: `<string>` ::
+
+backup-time to restore
+
+`--config` `<boolean>` ('default =' `0`)::
+
+Restore system configuration.
+
+`--database` `<boolean>` ('default =' `1`)::
+
+Restore the rule database. This is the default.
+
+`--statistic` `<boolean>` ('default =' `0`)::
+
+Restore statistic databases. Only considered when you restore the 'database'.
+
 *pmgbackup restore* `--filename <string>` `[OPTIONS]`
 
 Restore the system configuration.
index 1e15f2912e0b340758c563fc3f09a4f10e4b9757..a78c5ff9aa076ce26253d237a8c4b0bf6beeeba8 100644 (file)
@@ -1,5 +1,9 @@
 *pmgsubscription* `<COMMAND> [ARGS] [OPTIONS]`
 
+*pmgsubscription delete*
+
+Delete subscription key.
+
 *pmgsubscription get*
 
 Read subscription info.