From 225affc9ca9aefd1c3a7361d5bb8e7c63d10bad8 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 8 Mar 2021 09:37:08 +0100 Subject: [PATCH] tape: add docu link targets for online help --- docs/tape-backup.rst | 11 +++++++++-- www/OnlineHelpInfo.js | 24 ++++++++++++++++++++++-- www/tape/TapeManagement.js | 2 ++ 3 files changed, 33 insertions(+), 4 deletions(-) diff --git a/docs/tape-backup.rst b/docs/tape-backup.rst index 070f04bb..53f4ab77 100644 --- a/docs/tape-backup.rst +++ b/docs/tape-backup.rst @@ -1,3 +1,5 @@ +.. _tape_backup: + Tape Backup =========== @@ -170,6 +172,7 @@ Please note that you can configure anything using the graphical user interface or the command line interface. Both methods results in the same configuration. +.. _tape_changer_config: Tape changers ~~~~~~~~~~~~~ @@ -295,6 +298,7 @@ the status output: │ slot │ 14 │ │ │ └───────────────┴──────────┴────────────┴─────────────┘ +.. _tape_drive_config: Tape drives ~~~~~~~~~~~ @@ -382,6 +386,8 @@ For testing, you can simply query the drive status with: mode). This is the default anyways. +.. _tape_media_pool_config: + Media Pools ~~~~~~~~~~~ @@ -494,7 +500,7 @@ one media pool, so a job only uses tapes from that pool. will be double encrypted. The password protected key is stored on each media, so it is - possbible to `restore the key `_ using the password. Please make sure + possbible to `restore the key `_ using the password. Please make sure you remember the password in case you need to restore the key. @@ -531,6 +537,7 @@ To list all configured pools use: │ daily │ mydrive │ daily │ 7days │ │ └───────┴──────────┴────────────┴───────────┴──────────┘ +.. _tape_backup_job_config: Tape Backup Jobs ~~~~~~~~~~~~~~~~ @@ -812,7 +819,7 @@ version of a tape encryption key. The following command sends the output of the proxmox-tape key paperkey --output-format text > qrkey.txt -.. _restore_encryption_key: +.. _tape_restore_encryption_key: Restoring Encryption Keys ^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/www/OnlineHelpInfo.js b/www/OnlineHelpInfo.js index bb3c193b..a368207c 100644 --- a/www/OnlineHelpInfo.js +++ b/www/OnlineHelpInfo.js @@ -107,8 +107,28 @@ const proxmoxOnlineHelpInfo = { "link": "/docs/sysadmin.html#sysadmin-host-administration", "title": "Host System Administration" }, - "restore-encryption-key": { - "link": "/docs/tape-backup.html#restore-encryption-key", + "tape-backup": { + "link": "/docs/tape-backup.html#tape-backup", + "title": "Tape Backup" + }, + "tape-changer-config": { + "link": "/docs/tape-backup.html#tape-changer-config", + "title": "Tape changers" + }, + "tape-drive-config": { + "link": "/docs/tape-backup.html#tape-drive-config", + "title": "Tape drives" + }, + "tape-media-pool-config": { + "link": "/docs/tape-backup.html#tape-media-pool-config", + "title": "Media Pools" + }, + "tape-backup-job-config": { + "link": "/docs/tape-backup.html#tape-backup-job-config", + "title": "Tape Backup Jobs" + }, + "tape-restore-encryption-key": { + "link": "/docs/tape-backup.html#tape-restore-encryption-key", "title": "Restoring Encryption Keys" }, "tech-design-overview": { diff --git a/www/tape/TapeManagement.js b/www/tape/TapeManagement.js index bac37d9c..e414cb5d 100644 --- a/www/tape/TapeManagement.js +++ b/www/tape/TapeManagement.js @@ -4,6 +4,8 @@ Ext.define('PBS.TapeManagement', { title: gettext('Tape Backup'), + tools: [PBS.Utils.get_help_tool("tape_backup")], + border: true, defaults: { border: false,