restore_backup = (csrf, inner, action = `/admin/restore`) =>
  form(
    {
      method: "post",
      action,
      encType: "multipart/form-data",
    },
    input({ type: "hidden", name: "_csrf", value: csrf }),
    label(
      {
        class: "btn-link",
        for: "upload_to_restore",
        style: { cursor: "pointer" },
      },
      inner
    ),
    input({
      id: "upload_to_restore",
      class: "d-none",
      name: "file",
      type: "file",
      accept: "application/zip,.zip,.sczip",
      onchange: "notifyAlert('Restoring backup...', true);this.form.submit();",
    })
  )
Restore Backup
@param {*} csrf
@param {*} inner
@param {string} action
@returns {*}