Dietmar Maurer
|
2ca396c015
|
docs: add manual page for acl.cfg
|
2021-02-11 13:13:34 +01:00 |
|
Dietmar Maurer
|
d8dae16035
|
docs: add manual page fro sysc.cfg
|
2021-02-11 11:52:37 +01:00 |
|
Dietmar Maurer
|
8f02db04f9
|
docs: use new type_text option for calendar events
|
2021-02-11 11:51:22 +01:00 |
|
Dietmar Maurer
|
9f35e44681
|
fix proxmox_backup_manager remote list: s/userid/auth-id/
|
2021-02-11 11:31:20 +01:00 |
|
Dietmar Maurer
|
6279b8f5a5
|
docs: add manukal page for remote.cfg
|
2021-02-11 11:25:15 +01:00 |
|
Dietmar Maurer
|
3084232cb5
|
depend on proxmox 0.10.5
|
2021-02-11 10:49:16 +01:00 |
|
Dietmar Maurer
|
67cc79ec52
|
docs: add user.cfg.5 manual page
|
2021-02-10 16:51:05 +01:00 |
|
Dietmar Maurer
|
b9a09a9501
|
docs: add "Configuration Files" appendix
|
2021-02-10 11:28:56 +01:00 |
|
Dietmar Maurer
|
4a0d3a3e3f
|
docs: add datastore.cfg.5 man page
|
2021-02-10 11:05:02 +01:00 |
|
Dietmar Maurer
|
2322a980d0
|
docs: add utility binary to generate docs
|
2021-02-10 11:05:02 +01:00 |
|
Dietmar Maurer
|
c19f5b85a3
|
update debian/control
|
2021-02-10 11:05:02 +01:00 |
|
Dietmar Maurer
|
51c80c5a52
|
depend on proxmox 0.10.4
|
2021-02-10 10:24:36 +01:00 |
|
Dietmar Maurer
|
6477ebcf6f
|
copyright: adopt year
|
2021-02-10 09:56:33 +01:00 |
|
Dietmar Maurer
|
b22a9c14a4
|
docs: disable smartquotes
|
2021-02-09 08:36:09 +01:00 |
|
Dietmar Maurer
|
73a1da5ed6
|
pmt: document driver options
|
2021-02-08 08:34:31 +01:00 |
|
Dietmar Maurer
|
fbf8779388
|
doc: improve pmt/pmtx manual pages
|
2021-02-06 16:50:56 +01:00 |
|
Dietmar Maurer
|
3231c35fb8
|
doc: fix problems in pxar manual page
- Avoid doubled title (Description/Description)
- Avoid error with sphinx :ref: role
|
2021-02-06 16:21:36 +01:00 |
|
Dietmar Maurer
|
ced7838de4
|
tape: fix path for test files
|
2021-02-06 09:32:50 +01:00 |
|
Dietmar Maurer
|
b121711baa
|
update debian/control
|
2021-02-05 16:12:18 +01:00 |
|
Dietmar Maurer
|
085655b21b
|
Merge branch 'master' of ssh://proxdev.maurer-it.com/rust/proxmox-backup
|
2021-02-05 12:53:43 +01:00 |
|
Dietmar Maurer
|
4c209d6b10
|
install pmt binary
|
2021-02-05 12:42:20 +01:00 |
|
Dietmar Maurer
|
8dc45e291a
|
depend on proxmox 0.10.2
|
2021-02-05 12:42:20 +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
|
b81e37f6ab
|
tape: improve code reuse
|
2021-02-04 09:39:16 +01:00 |
|
Dietmar Maurer
|
ddebbb52fd
|
tape: fix tests for BlockedReader
|
2021-02-04 08:54:54 +01:00 |
|
Dietmar Maurer
|
983e929e25
|
tape: add multi volume reader/writer implementations
We currently do not use it. Added anaways, to show the possibility.
|
2021-02-04 08:36:35 +01:00 |
|
Dietmar Maurer
|
f47e035721
|
tape: cleanup - move tape file readers/writers into src/tape/file_formats folder
|
2021-02-04 07:59:37 +01:00 |
|
Dietmar Maurer
|
a80d72f999
|
tape: allow to abort restore tasks
|
2021-02-04 07:05:43 +01:00 |
|
Dietmar Maurer
|
8de9a9917f
|
cleanup: use task_log macro
|
2021-02-04 06:55:18 +01:00 |
|
Dietmar Maurer
|
7d2c156eb1
|
tape: BlockedReader - always consume EOF
|
2021-02-03 13:25:59 +01:00 |
|
Dietmar Maurer
|
b22e8c3632
|
tape: add media pool regression tests
|
2021-02-03 10:23:04 +01:00 |
|
Dietmar Maurer
|
7929292618
|
tape: add regresion test for media state
|
2021-02-03 09:34:31 +01:00 |
|
Dietmar Maurer
|
0d4e4cae7f
|
tape: improve pmt command line completion
|
2021-02-03 08:54:12 +01:00 |
|
Dietmar Maurer
|
f4ba2e3155
|
depend on proxmox 0.10.1
|
2021-02-03 08:53:34 +01:00 |
|
Dietmar Maurer
|
cc2a0b12f8
|
test: define tape tests as submodule
|
2021-02-02 14:38:15 +01:00 |
|
Dietmar Maurer
|
988e8de122
|
tape: set correct ownership on lock file
|
2021-02-02 14:18:57 +01:00 |
|
Dietmar Maurer
|
2f8809c6bc
|
test: src/tape/inventory.rs - avoid chown when running tests
|
2021-02-02 13:43:16 +01:00 |
|
Dietmar Maurer
|
92b7775fa1
|
fix debian/control
|
2021-02-02 12:33:00 +01:00 |
|
Dietmar Maurer
|
f4d231e70a
|
test: add regression tests for tape inventory
|
2021-02-02 12:19:28 +01:00 |
|
Dietmar Maurer
|
8937c65951
|
tape: add pmt stoptions/stsethoptions/stclearoptions
|
2021-02-02 08:58:02 +01:00 |
|
Dietmar Maurer
|
6c6ad82d90
|
tape: add pmt setblk
|
2021-02-02 07:19:54 +01:00 |
|
Dietmar Maurer
|
d0f11b66f7
|
thape: add read_tapedev_options, display driver options with status command
|
2021-02-02 06:40:40 +01:00 |
|
Dietmar Maurer
|
ca953d831f
|
cleanup: remove MT_ST_ prefix from SetDrvBufferOptions
|
2021-02-01 17:54:53 +01:00 |
|
Dietmar Maurer
|
19e4a36c70
|
tape: do not use drive.open() within pmt
Do not fail if no media is loaded. Inportant for load command.
|
2021-02-01 12:39:50 +01:00 |
|
Dietmar Maurer
|
90769e5694
|
tape: add pmt lock/unlock
|
2021-02-01 12:18:55 +01:00 |
|
Dietmar Maurer
|
b8cbe5d65b
|
tape: fix tape alert flag decoding
|
2021-02-01 12:18:55 +01:00 |
|
Dietmar Maurer
|
d690d14568
|
tape: add pmt bsr/fsr
|
2021-02-01 10:39:04 +01:00 |
|
Dietmar Maurer
|
85ef624440
|
tape: add pmt asf
|
2021-02-01 10:32:21 +01:00 |
|
Dietmar Maurer
|
e995996290
|
tape: pmt - fix count parameter schema
|
2021-02-01 10:21:25 +01:00 |
|
Dietmar Maurer
|
8e6ad4301d
|
tape: add pmt fsfm/bsfm, pass count as arg_param
|
2021-02-01 10:18:18 +01:00 |
|
Dietmar Maurer
|
86740dfc89
|
tape: ui - remove drive from pool config
|
2021-02-01 10:01:06 +01:00 |
|
Dietmar Maurer
|
9883b54cba
|
tape: remove drive from pool config
|
2021-02-01 09:14:28 +01:00 |
|
Dietmar Maurer
|
83b8949a98
|
tape: add pmt weof
|
2021-01-31 17:33:07 +01:00 |
|
Dietmar Maurer
|
28f60e5291
|
cleanup: avoid compiler warnings
|
2021-01-31 17:02:55 +01:00 |
|
Dietmar Maurer
|
1f31d06f48
|
tape: add pmt bsf
|
2021-01-31 17:00:15 +01:00 |
|
Dietmar Maurer
|
2f2e83c890
|
tape: add pmt fsf
|
2021-01-31 16:54:16 +01:00 |
|
Dietmar Maurer
|
b22c618734
|
tape: add pmt erase
|
2021-01-31 16:34:10 +01:00 |
|
Dietmar Maurer
|
1e041082bb
|
tape: add pmt command line tool
Experimental, not installed by now.
|
2021-01-31 16:19:53 +01:00 |
|
Dietmar Maurer
|
a57ce270ac
|
postinst: add user backup to group tape
So that it is possible to access tape and changer devcies.
|
2021-01-30 11:48:49 +01:00 |
|
Dietmar Maurer
|
b5b99a52cd
|
tape: API type cleanup, use serde flatten to derive types
|
2021-01-30 09:36:54 +01:00 |
|
Dietmar Maurer
|
9586ce2f46
|
tape: move scan_drives API code to correct file
|
2021-01-30 08:03:17 +01:00 |
|
Dietmar Maurer
|
b8d526f18d
|
ui: tape/ChangerStatus - use POST for barcode-label-media
|
2021-01-29 17:06:53 +01:00 |
|
Dietmar Maurer
|
c297835b01
|
tape: proxmox-tape - use API instead of direct functions calls
|
2021-01-29 11:49:11 +01:00 |
|
Dietmar Maurer
|
e68269fcaf
|
tape: proxmox-tape inventory: call API
|
2021-01-29 11:21:57 +01:00 |
|
Dietmar Maurer
|
5243df4712
|
tape: proxmox-tape - use API instead of direct functions calls
|
2021-01-29 10:50:11 +01:00 |
|
Dietmar Maurer
|
4470eba551
|
cleanup: factor out common client code to view task log/result
|
2021-01-29 10:10:04 +01:00 |
|
Dietmar Maurer
|
1f2c4713ef
|
tape: improve backup task abort behaviour
|
2021-01-29 09:23:39 +01:00 |
|
Dietmar Maurer
|
a6c16894ff
|
worker_task: log something when we receive an abort request
|
2021-01-29 09:22:37 +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
|
52f7a73009
|
display_task_log: make it possible to abort tasks with CTRL-C
|
2021-01-29 09:06:15 +01:00 |
|
Dietmar Maurer
|
41dacd5d3d
|
tape: use worker task for eject-media api
|
2021-01-28 16:49:08 +01:00 |
|
Dietmar Maurer
|
eb1dfb02b5
|
tape: proxmox-tape - use api for erase-media and rewind
|
2021-01-28 16:36:10 +01:00 |
|
Dietmar Maurer
|
1a0eb86344
|
tape: gui: s/encryption/encrypt/ in media pool config panel
|
2021-01-28 15:50:01 +01:00 |
|
Dietmar Maurer
|
bdb62b20a3
|
tape: media_pool config api - set protected flags where required
|
2021-01-28 15:42:32 +01:00 |
|
Dietmar Maurer
|
f2ca03d7d0
|
cleanup: avoid compiler warning
|
2021-01-28 15:32:21 +01:00 |
|
Dietmar Maurer
|
87f4be7998
|
tape: use api to run proxmox-tape backup
|
2021-01-28 14:56:42 +01:00 |
|
Dietmar Maurer
|
d737adc6be
|
tape: rename changer_drive_id to changer_drivenum
|
2021-01-28 11:29:59 +01:00 |
|
Dietmar Maurer
|
b2fc6f9228
|
fix build: commit missing file
|
2021-01-27 18:13:58 +01:00 |
|
Dietmar Maurer
|
651a61f559
|
pmtx: implement scan command
|
2021-01-27 12:40:51 +01:00 |
|
Dietmar Maurer
|
b06edeca02
|
remove generated file synopsis.rst (no need to track in git)
|
2021-01-27 12:38:02 +01:00 |
|
Dietmar Maurer
|
89ccb125d1
|
tape: use 36 byte Inquiry (recommended size)
|
2021-01-27 12:35:28 +01:00 |
|
Dietmar Maurer
|
c972704477
|
install pmtx binary
|
2021-01-27 11:36:15 +01:00 |
|
Dietmar Maurer
|
887f1cb90c
|
cleanup: move scan changers API implementation
|
2021-01-27 09:58:16 +01:00 |
|
Dietmar Maurer
|
16b4d78400
|
tape: rename retry_command to execute_scsi_command, make retry a flag
|
2021-01-27 09:34:24 +01:00 |
|
Dietmar Maurer
|
ec8d9c6b80
|
tape: repeat changer scsi command until successful
|
2021-01-27 08:59:10 +01:00 |
|
Dietmar Maurer
|
49c2d1dcad
|
sgutils2: use sg_get_asc_ascq_str to produce error messages
|
2021-01-27 06:56:11 +01:00 |
|
Dietmar Maurer
|
d0f51651f9
|
sgutils2: add ASC codes from tandeberg docs
|
2021-01-26 18:54:08 +01:00 |
|
Dietmar Maurer
|
481ccf16a5
|
sgutils2: further improve error messages
|
2021-01-26 15:19:43 +01:00 |
|
Dietmar Maurer
|
a223458753
|
sgutils2: support RequestSense Descriptor format
|
2021-01-26 13:38:16 +01:00 |
|
Dietmar Maurer
|
c81c46c336
|
sgutils2: improve error messages
|
2021-01-26 12:24:58 +01:00 |
|
Dietmar Maurer
|
c3747b93c8
|
tape: add new command line tool "pmtx"
Also improve sgutil2 error reporting
|
2021-01-26 11:57:15 +01:00 |
|
Dietmar Maurer
|
2b96a43879
|
tape: cleanup - use ScsiMediaChange trait instead of mtx_status()
|
2021-01-25 13:25:22 +01:00 |
|
Dietmar Maurer
|
697c41c584
|
tape: add/use rust scsi changer implementation using libsgutil2
|
2021-01-25 13:14:07 +01:00 |
|
Dietmar Maurer
|
a2379996e6
|
sgutils2: add scsi_inquiry command
|
2021-01-25 13:14:07 +01:00 |
|
Dietmar Maurer
|
7c78d54231
|
sgutils: allow command which does not transfer any data
|
2021-01-24 15:19:43 +01:00 |
|
Dietmar Maurer
|
f9d71e8b17
|
sgutils2: allow to set custom timeouts
|
2021-01-24 14:54:30 +01:00 |
|
Dietmar Maurer
|
0107fd323c
|
cleanup: avoid compiler warnings
|
2021-01-23 17:34:26 +01:00 |
|
Dietmar Maurer
|
8ba47929a0
|
tape: add docu about paperkey
|
2021-01-23 15:34:28 +01:00 |
|
Dietmar Maurer
|
794b0fe9ce
|
tape: document hardware encryption
|
2021-01-23 15:19:28 +01:00 |
|