Dietmar Maurer
cf95f616c5
add missing file docs/api-viewer/index.html
2021-02-21 10:04:23 +01:00
Dietmar Maurer
1adbc7c13c
docs: install API viewer
2021-02-21 09:06:58 +01:00
Dietmar Maurer
9d28974c27
adopt PVEAPI.js for PBS, rename to PBSAPI.js
2021-02-21 09:06:58 +01:00
Dietmar Maurer
3dbc35b5c1
copy api-viewer from pve-docs
2021-02-21 09:06:58 +01:00
Dietmar Maurer
fee0fe5422
docgen: implement api schema generation (for api-viewer)
...
Just a start - not complete jet.
2021-02-21 09:06:58 +01:00
Dietmar Maurer
86d9f4e733
tape: extend MediaChange trait to return MtxStatus
2021-02-20 10:23:16 +01:00
Dietmar Maurer
3f16f1b006
tape: update changer status inside ScsiMediaChange implementation
2021-02-20 09:56:27 +01:00
Dietmar Maurer
cbd9899389
tape: update changer status cache after load/unload
2021-02-20 09:06:17 +01:00
Dietmar Maurer
cd44fb8d84
tape: create tmp dirs early at server startup
2021-02-19 18:10:02 +01:00
Dietmar Maurer
4188fd59a0
tape: cache changer state
2021-02-19 16:48:19 +01:00
Dietmar Maurer
1917ea3ce1
cleanup: use serde(flatten) for VerificationJobStatus, improve code reuse
2021-02-19 09:50:25 +01:00
Dietmar Maurer
70842b9ef2
cleanup: use serde(flatten) for SyncJobStatus, improve code reuse
2021-02-19 09:36:39 +01:00
Dietmar Maurer
e6122a657e
ui: cleanup - reuse existing code
2021-02-19 09:14:31 +01:00
Dietmar Maurer
9e860ac01a
ui: tape/BackupJobs.js - render task scheduling status
2021-02-19 09:08:00 +01:00
Dietmar Maurer
7690a8e7bd
api: list tape backup jobs with scheduling status
2021-02-19 09:02:13 +01:00
Dietmar Maurer
1860208560
add helper to compute job scheduling state
2021-02-19 08:58:50 +01:00
Dietmar Maurer
1689296d46
api: add new type JobScheduleStatus
2021-02-19 08:23:41 +01:00
Dietmar Maurer
7aa4851b77
ui: start tape backup job GUI
2021-02-18 12:48:54 +01:00
Dietmar Maurer
6ef8e2902f
ui: tape/ChangerStatus.js - avoid update status in list_media
...
We do not use the media location, so there is no need to update
the online status in the list_media call. Besides, we already update
the online status when we query the changer/status.
2021-02-18 12:06:49 +01:00
Dietmar Maurer
aa16b7b284
ui: tape/ChangerStatus.js - only update status for selected changer
...
To reduce load/wait time.
2021-02-18 11:08:13 +01:00
Dietmar Maurer
9bbd83b1f2
tape: media_list API - allow to update online status for a single changer
2021-02-18 10:59:33 +01:00
Dietmar Maurer
65535670f9
ui: tape/TapeInventory.js - avoid update changer status
...
We do not update changer status by default - only when pressing "Reload" button.
2021-02-18 10:10:51 +01:00
Dietmar Maurer
dea8e2cb54
ui: improve task description for loat/unload media
2021-02-18 09:24:56 +01:00
Dietmar Maurer
d0647e5a02
tape: use worker tasks for media load/unload
2021-02-18 09:04:51 +01:00
Dietmar Maurer
bbe06f97be
ui: tape/TapeInventory.js - use grid grouping feature - group by pool
2021-02-18 07:30:37 +01:00
Dietmar Maurer
8b910bb6bc
tape: add regression test for compute_media_state
2021-02-17 06:57:29 +01:00
Dietmar Maurer
3cdd1a3424
tape: erase_media - automatically load media (with tape libraries).
2021-02-17 06:55:53 +01:00
Dietmar Maurer
dbaef7d04d
tape: add regression test for alloc_writable_media
2021-02-17 06:55:49 +01:00
Dietmar Maurer
159100b944
tape: ui - avoid changer status query in backup content panel
2021-02-15 12:17:36 +01:00
Dietmar Maurer
41a8db3576
tape: implement API to run tape backup jobs
2021-02-15 11:09:30 +01:00
Dietmar Maurer
fe291ab794
cleanup: tape_backup_job.rs - do not use #[allow(non_camel_case_types)]
2021-02-15 10:41:04 +01:00
Dietmar Maurer
adb65b9889
tape: fix proxmox-tape pool config command
2021-02-15 08:58:05 +01:00
Dietmar Maurer
8513626b9f
proxmox-backup-proxy: schedule tape backup jobs
2021-02-15 08:30:42 +01:00
Dietmar Maurer
7ca0ba4515
tape: add tape-job.cfg manual page
2021-02-15 07:05:39 +01:00
Dietmar Maurer
42200c405a
fix api sort order
2021-02-15 06:35:45 +01:00
Dietmar Maurer
be327dbccd
tape: add tape backup job configuration
2021-02-14 10:35:51 +01:00
Dietmar Maurer
c724dc3892
docs: update generated OnlineHelpInfo.js
2021-02-14 10:35:51 +01:00
Dietmar Maurer
81f5d03e8d
docs: update benchmark results
2021-02-13 10:52:19 +01:00
Dietmar Maurer
e50c6b94c1
fix build: install proxmox-tape man page
...
Although we do not install the binary.
2021-02-13 10:33:16 +01:00
Dietmar Maurer
28eaff20bd
docs: fix target refs in user-management.rst
2021-02-13 10:23:02 +01:00
Dietmar Maurer
8d1a1b2976
docs: conv.py - add man pages to exclude_patterns
...
To avoid sphinx warnings.
2021-02-13 10:16:41 +01:00
Dietmar Maurer
92eaec53db
docs: add proxmox-backup service description
2021-02-13 09:48:21 +01:00
Dietmar Maurer
b3c2c57897
docs: add services.rst to section sysadmin
2021-02-13 09:40:36 +01:00
Dietmar Maurer
f458e97fda
docs: split out output-format.rst
2021-02-13 08:54:23 +01:00
Dietmar Maurer
80bf9ae99b
docs: add short descriptions for main binaries.
2021-02-13 08:43:54 +01:00
Dietmar Maurer
bebd4a7ca4
tape: generate proxmox-tape.1 manual page
2021-02-12 18:00:01 +01:00
Dietmar Maurer
9468e94412
tape: add pmt and pmtx command to tape-backup.rst
2021-02-12 17:45:55 +01:00
Dietmar Maurer
6b66c8507f
lto-barcode: fix page offset calibration
2021-02-12 13:34:19 +01:00
Dietmar Maurer
167e5406c3
Makefile: fix typo (s/madia-pool/media-pool/)
2021-02-12 12:18:25 +01:00
Dietmar Maurer
c111c9a931
tape: add manual page for tape.cfg
2021-02-12 12:09:08 +01:00
Dietmar Maurer
bb71e3a023
tape: add manual page for media-pool.cfg
2021-02-12 11:50:56 +01:00
Dietmar Maurer
7b1bf4c098
tape: erase_media - automatically erase catalog and inventory
2021-02-12 11:30:34 +01:00
Dietmar Maurer
96bcfb9b1f
docs: add hint how to edit/modify the datastore.cfg file
2021-02-11 14:20:16 +01:00
Dietmar Maurer
4a874665eb
proxmox-backup-manger verify-job CLI
...
Add missing command line interface to manage verification jobs.
2021-02-11 14:06:44 +01:00
Dietmar Maurer
6f6b69946e
docs: use type_text for config::acl::Role
...
The list of roles is simply too long, so we use type_text to generate
reasonable docs.
2021-02-11 13:47:01 +01:00
Dietmar Maurer
5b7f44555e
docs: add manual page for verification.cfg
2021-02-11 13:40:11 +01:00
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