Dietmar Maurer
|
b4975d3102
|
tape: finish api permission checks
|
2021-03-05 11:49:07 +01:00 |
|
Dietmar Maurer
|
90e16be3ae
|
tape: improve PoolWriter logging
Log reason why we allocate a new media set.
|
2021-03-05 09:59:38 +01:00 |
|
Dietmar Maurer
|
396fd747a6
|
tape: impl access permissions for tape jobs
|
2021-03-03 12:48:06 +01:00 |
|
Dietmar Maurer
|
1d14c31658
|
Revert "tape: also abort backup/restore on server shutdown"
This reverts commit 9bd81bb384 .
Turns out this is not really a good idea.
|
2021-03-02 08:00:10 +01:00 |
|
Dietmar Maurer
|
9bd81bb384
|
tape: also abort backup/restore on server shutdown
|
2021-03-02 07:19:31 +01:00 |
|
Dietmar Maurer
|
5830e5620d
|
tape: cleanup TapeJob implementation - uses AllOf Schema with SectionConfig
|
2021-02-25 09:44:31 +01:00 |
|
Dietmar Maurer
|
0dadf66dc7
|
tape: implement backup using latest-only flag
|
2021-02-24 13:51:53 +01:00 |
|
Dominik Csapak
|
926d05ef0b
|
api2/tape/{backup, restore}, proxmox-tape: set device state
set the drive device state everywhere we lock it, so that we
know what it currently does
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
|
2021-02-19 10:16:30 +01:00 |
|
Dietmar Maurer
|
7690a8e7bd
|
api: list tape backup jobs with scheduling status
|
2021-02-19 09:02:13 +01:00 |
|
Dietmar Maurer
|
41a8db3576
|
tape: implement API to run tape backup jobs
|
2021-02-15 11:09:30 +01:00 |
|
Dietmar Maurer
|
8513626b9f
|
proxmox-backup-proxy: schedule tape backup jobs
|
2021-02-15 08:30:42 +01:00 |
|
Dietmar Maurer
|
25aa55b5f5
|
tape: correctly lock the tape device
|
2021-02-05 10:50:21 +01:00 |
|
Dietmar Maurer
|
cdf39e62b3
|
tape: MediaPool - replace use_offline_media with changer_name
This way, we can improve location_is_available, because we only
consider media from that changer as available.
|
2021-02-04 10:15:18 +01:00 |
|
Dietmar Maurer
|
9883b54cba
|
tape: remove drive from pool config
|
2021-02-01 09:14:28 +01:00 |
|
Dietmar Maurer
|
1f2c4713ef
|
tape: improve backup task abort behaviour
|
2021-01-29 09:23:39 +01:00 |
|
Dietmar Maurer
|
271764deb9
|
tape: make it possible to abort tape backup tasks (check_abort)
Also use task_log makro instead of worker.log.
|
2021-01-29 09:07:55 +01:00 |
|
Dietmar Maurer
|
37796ff73f
|
tape: change code hierarchy to improve docs
|
2021-01-21 17:12:01 +01:00 |
|
Fabian Grünbichler
|
397356096a
|
clippy: remove needless bool literals
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
|
2021-01-20 16:23:52 +01:00 |
|
Fabian Grünbichler
|
4428818412
|
clippy: remove unnecessary clones
and from::<T>(T)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
|
2021-01-20 16:22:59 +01:00 |
|
Dietmar Maurer
|
8446fbca85
|
tape: rename changer_id to label_text
|
2021-01-13 13:26:59 +01:00 |
|
Dietmar Maurer
|
5654d8ceba
|
tape: make eject/export more reliable, improve logging
|
2021-01-12 09:16:16 +01:00 |
|
Dietmar Maurer
|
31cf625af5
|
tape: improve backup logs
|
2021-01-11 13:23:12 +01:00 |
|
Dietmar Maurer
|
edb90f6afa
|
tape: backup - implement export-media-set option
|
2021-01-10 11:59:55 +01:00 |
|
Dietmar Maurer
|
42967bf185
|
tape: backup - implement --eject-media option
|
2021-01-09 15:17:03 +01:00 |
|
Dietmar Maurer
|
46a1863f88
|
tape: improve MediaChange trait
We expose the whole MtxStatus, and we can load/store from/to
specified slot numbers.
|
2021-01-07 14:26:43 +01:00 |
|
Dietmar Maurer
|
cfae8f0656
|
tape: merge MediaStateDatabase into Inventory
|
2021-01-01 16:15:13 +01:00 |
|
Dietmar Maurer
|
54f4ecd46a
|
tape: implement MediaPool flag to consider offline media
For standalone tape drives.
|
2021-01-01 10:03:59 +01:00 |
|
Dietmar Maurer
|
cb022525ff
|
tape: only log to stdout in CLI environment
|
2020-12-30 19:01:39 +01:00 |
|
Dietmar Maurer
|
284eb5daff
|
tape: cleanup/simplify media_change code
|
2020-12-30 17:16:57 +01:00 |
|
Dietmar Maurer
|
ff58c51919
|
tape: improve media request/load
|
2020-12-30 13:09:28 +01:00 |
|
Dietmar Maurer
|
8835664653
|
tape: add tape backup api
|
2020-12-18 15:32:12 +01:00 |
|