Tape inventory questions

giovvv

Well-Known Member
Aug 4, 2018
52
1
48
58
1. In the "inventory" tab of the "tape backup" screen, what is the difference between the buttons "Remove" and "Format"? (I don't dare to try...)

2. Does "format" obtain the same effect as the shell command "proxmox-tape format"?

3. I tried reading the man pages, but apparently, the "set status", "set location" and "remove" functions in that same screen have no equivalent shell commands, or at least I couldn't find them.

Thanks.
gg
 
Last edited:
1. In the "inventory" tab of the "tape backup" screen, what is the difference between the buttons "Remove" and "Format"? (I don't dare to try...)
'remove' removes the tape from the inventory without deleting the data from the tape itself (if there is data on it, even the remove won't work by default, only with the 'force' flag)
this is the same as 'proxmox-tape media destroy' (not sure why it's 'destroy' on the cli vs remove on web ui, but well)

2. Does "format" obtain the same effect as the shell command "proxmox-tape format"?
yes

3. I tried reading the man pages, but apparently, the "set status", "set location" and "remove" functions in that same screen have no equivalent shell commands, or at least I couldn't find them.
for set status and set location not via the proxmox-tape command, but you'd have to go via 'proxmox-backup-debug api' and use the same api call that the web ui uses
but if you want you can open a feature request for those: https://bugzilla.proxmox.com should be relatively easy to implement
 
  • Like
Reactions: giovvv