]>
git.proxmox.com Git - proxmox-backup.git/log
Dietmar Maurer [Sat, 13 Feb 2021 09:33:16 +0000 (10:33 +0100)]
fix build: install proxmox-tape man page
Although we do not install the binary.
Dietmar Maurer [Sat, 13 Feb 2021 09:23:02 +0000 (10:23 +0100)]
docs: fix target refs in user-management.rst
Dietmar Maurer [Sat, 13 Feb 2021 09:16:41 +0000 (10:16 +0100)]
docs: conv.py - add man pages to exclude_patterns
To avoid sphinx warnings.
Dietmar Maurer [Sat, 13 Feb 2021 08:48:21 +0000 (09:48 +0100)]
docs: add proxmox-backup service description
Dietmar Maurer [Sat, 13 Feb 2021 08:34:32 +0000 (09:34 +0100)]
docs: add services.rst to section sysadmin
Dietmar Maurer [Sat, 13 Feb 2021 07:54:23 +0000 (08:54 +0100)]
docs: split out output-format.rst
Dietmar Maurer [Sat, 13 Feb 2021 07:43:54 +0000 (08:43 +0100)]
docs: add short descriptions for main binaries.
Dietmar Maurer [Fri, 12 Feb 2021 17:00:01 +0000 (18:00 +0100)]
tape: generate proxmox-tape.1 manual page
Dietmar Maurer [Fri, 12 Feb 2021 16:45:55 +0000 (17:45 +0100)]
tape: add pmt and pmtx command to tape-backup.rst
Dietmar Maurer [Fri, 12 Feb 2021 12:34:19 +0000 (13:34 +0100)]
lto-barcode: fix page offset calibration
Dietmar Maurer [Fri, 12 Feb 2021 11:18:25 +0000 (12:18 +0100)]
Makefile: fix typo (s/madia-pool/media-pool/)
Dietmar Maurer [Fri, 12 Feb 2021 11:09:08 +0000 (12:09 +0100)]
tape: add manual page for tape.cfg
Dietmar Maurer [Fri, 12 Feb 2021 10:50:56 +0000 (11:50 +0100)]
tape: add manual page for media-pool.cfg
Dietmar Maurer [Fri, 12 Feb 2021 10:30:34 +0000 (11:30 +0100)]
tape: erase_media - automatically erase catalog and inventory
Dominik Csapak [Thu, 11 Feb 2021 15:02:19 +0000 (16:02 +0100)]
ui: tape/BackupOverview: skip tapes without media-set
there is no data on them (yet), even if they belong to a pool
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 11 Feb 2021 13:11:20 +0000 (14:11 +0100)]
ui: tape/TapeInventory: add 'Set Tape Location' button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 11 Feb 2021 13:11:19 +0000 (14:11 +0100)]
api2/types/tape/media_location: fix deserialization of MediaLocation::Vault
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 11 Feb 2021 13:11:18 +0000 (14:11 +0100)]
api2/tape/media: add 'move' api call
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 11 Feb 2021 13:11:17 +0000 (14:11 +0100)]
proxmox-tape: change lookup_drive_name to extract_drive_name
in most uses, we want to remove the drive from the param afterwards
where we don't, we already overwrite it with the result of this function
this fixes some commands (like 'proxmox-tape read-label --drive foo')
that failed with:
parameter 'drive': duplicate parameter.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Thu, 11 Feb 2021 13:20:16 +0000 (14:20 +0100)]
docs: add hint how to edit/modify the datastore.cfg file
Dietmar Maurer [Thu, 11 Feb 2021 13:06:44 +0000 (14:06 +0100)]
proxmox-backup-manger verify-job CLI
Add missing command line interface to manage verification jobs.
Dietmar Maurer [Thu, 11 Feb 2021 12:47:01 +0000 (13:47 +0100)]
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.
Dietmar Maurer [Thu, 11 Feb 2021 12:40:11 +0000 (13:40 +0100)]
docs: add manual page for verification.cfg
Dietmar Maurer [Thu, 11 Feb 2021 12:13:34 +0000 (13:13 +0100)]
docs: add manual page for acl.cfg
Dietmar Maurer [Thu, 11 Feb 2021 10:52:37 +0000 (11:52 +0100)]
docs: add manual page fro sysc.cfg
Dietmar Maurer [Thu, 11 Feb 2021 10:51:22 +0000 (11:51 +0100)]
docs: use new type_text option for calendar events
Dietmar Maurer [Thu, 11 Feb 2021 10:31:20 +0000 (11:31 +0100)]
fix proxmox_backup_manager remote list: s/userid/auth-id/
Dietmar Maurer [Thu, 11 Feb 2021 10:25:15 +0000 (11:25 +0100)]
docs: add manukal page for remote.cfg
Dietmar Maurer [Thu, 11 Feb 2021 09:49:16 +0000 (10:49 +0100)]
depend on proxmox 0.10.5
Dietmar Maurer [Wed, 10 Feb 2021 15:37:27 +0000 (16:37 +0100)]
docs: add user.cfg.5 manual page
Dietmar Maurer [Wed, 10 Feb 2021 10:28:56 +0000 (11:28 +0100)]
docs: add "Configuration Files" appendix
Dietmar Maurer [Wed, 10 Feb 2021 09:33:30 +0000 (10:33 +0100)]
docs: add datastore.cfg.5 man page
Dietmar Maurer [Wed, 10 Feb 2021 09:27:40 +0000 (10:27 +0100)]
docs: add utility binary to generate docs
Dietmar Maurer [Wed, 10 Feb 2021 09:39:45 +0000 (10:39 +0100)]
update debian/control
Wolfgang Bumiller [Wed, 3 Feb 2021 09:42:29 +0000 (10:42 +0100)]
tfa: derive WebauthnConfigUpdater via api macro
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dietmar Maurer [Wed, 10 Feb 2021 09:24:36 +0000 (10:24 +0100)]
depend on proxmox 0.10.4
Dietmar Maurer [Wed, 10 Feb 2021 08:56:33 +0000 (09:56 +0100)]
copyright: adopt year
Dominik Csapak [Tue, 9 Feb 2021 14:40:44 +0000 (15:40 +0100)]
ui: tape/ChangerStatus: show more inventory info for tapes in slots
do not only show if labeled, but the whole status (full/writeable/etc.)
and to which pool the tape belongs (if any)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 9 Feb 2021 14:40:43 +0000 (15:40 +0100)]
ui: tape/TapeInventory: show expired status
this is saved in a separate property, but show in status like
'proxmox-tape media list'
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 9 Feb 2021 14:40:42 +0000 (15:40 +0100)]
ui: tape/BackupOverview: do not iterate over empty tapes
tapes not belonging to a pool cannot contain data, so skip them
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Wolfgang Bumiller [Tue, 9 Feb 2021 12:01:15 +0000 (13:01 +0100)]
pxar: improve error messages
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 9 Feb 2021 12:08:18 +0000 (13:08 +0100)]
pxar: skip write_attr_fd if they are equal
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 9 Feb 2021 11:58:47 +0000 (12:58 +0100)]
fix #3026: pxar: metadata: apply flags _after_ updating mtime
otherwise we'll fail to update the mtime of immutable files
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Mon, 8 Feb 2021 10:10:09 +0000 (11:10 +0100)]
ui: tape/window/LabelMedia: change to POST
this changed in the backend
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 8 Feb 2021 10:10:08 +0000 (11:10 +0100)]
api2/tape/drive: add missing locks for some drive actions
else a backup/restore can easily be disrupted
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 8 Feb 2021 09:17:59 +0000 (10:17 +0100)]
ui: tape/BackupOverview: rework BackupOverview (again)
instead of showing the snapshots directly under the pool and then the
media-sets, list the media-sets under the pool and only after the
snapshots
this has several advantages:
* we only have to read one set of tape catalog data on expand and not all of
them everytime (which does not scale)
* we can show media-sets without snapshots, this can happen when we
inventoried a set of tapes from another pbs instance, or lost the
catalog data somehow
the disadvantage is that one has to go look for the media set where the
snapshot is included, but we can solve this by implementing a search
function in the future (in the backend)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Mon, 8 Feb 2021 10:39:47 +0000 (11:39 +0100)]
docs: disable smartquotes
Oguz Bektas [Thu, 4 Feb 2021 13:53:24 +0000 (14:53 +0100)]
ui: loginview: fix typo in view-model variable name
s/availabel/available/g
no semantic change at all
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 8 Feb 2021 09:09:28 +0000 (10:09 +0100)]
ui: dashboard/TaskSummary: map type filter back to original type
we include all tasks whose type start with 'verif' in the type 'verify'
but if we want to actually show them in the pop-up, we have to reverse
map this back to 'verif', else there are tasks missing from there
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Fabian Grünbichler [Mon, 8 Feb 2021 08:52:16 +0000 (09:52 +0100)]
client: move test output files to target/testout
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Dietmar Maurer [Mon, 8 Feb 2021 07:34:31 +0000 (08:34 +0100)]
pmt: document driver options
Dietmar Maurer [Sat, 6 Feb 2021 15:50:56 +0000 (16:50 +0100)]
doc: improve pmt/pmtx manual pages
Dietmar Maurer [Sat, 6 Feb 2021 15:21:36 +0000 (16:21 +0100)]
doc: fix problems in pxar manual page
- Avoid doubled title (Description/Description)
- Avoid error with sphinx :ref: role
Dietmar Maurer [Sat, 6 Feb 2021 08:32:50 +0000 (09:32 +0100)]
tape: fix path for test files
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:35 +0000 (16:35 +0100)]
client: track key source, print when used
to avoid confusing messages about using encryption keys when restoring
plaintext backups, or about loading master keys when they are not
actually used for the current operation.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:34 +0000 (16:35 +0100)]
client: refactor crypto_parameter handling
pull out the crypt-mode to logically group arms and make the whole mess
a bit more "human-parsable".
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:33 +0000 (16:35 +0100)]
client: extend tests for master key handling
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:32 +0000 (16:35 +0100)]
client: allow passing specific master key
it's needed for PVE's LXC integration, and might be interesting for
other more special usage scenarios as well.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:31 +0000 (16:35 +0100)]
client: refactor keyfile_parameters
no semantic changes intended
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:30 +0000 (16:35 +0100)]
client: add test for keyfile_parameters
this will get more complex soon, so add test to document current
behaviour.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:29 +0000 (16:35 +0100)]
key: rustfmt module
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:28 +0000 (16:35 +0100)]
key: add show-master-pubkey command
and print public key when generating/importing..
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 5 Feb 2021 15:35:26 +0000 (16:35 +0100)]
key: make 'default' master key explicit
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Aaron Lauterer [Fri, 5 Feb 2021 15:10:30 +0000 (16:10 +0100)]
docs/scanrefs: fix handling if ref is same as headline
If the ref is named the same as the headline (once normalized), sphinx
will return a 'idX' value in node['ids'][1] which we use for the label
ID. The headline is always present at index 0.
Checking for that and using index 0 in case we do get a 'idX' helps us
to avoid using the 'idX' as keys in our OnlineHelpInfo.js and actually
use the intended key.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Aaron Lauterer [Fri, 5 Feb 2021 15:10:29 +0000 (16:10 +0100)]
docs: fix references to changed refs
With commit
ec1ae7e63180768c9ad8fa52d437a1cee6ef1c50 some refs were
changed by getting prefixes and such. We need to adapt the places that
reference them as well
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Dominik Csapak [Fri, 5 Feb 2021 14:26:20 +0000 (15:26 +0100)]
ui: tape/DriveConfig: add missing tooltips
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 5 Feb 2021 14:26:19 +0000 (15:26 +0100)]
ui: tape/DriveConfig: add Catalog button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 5 Feb 2021 14:26:18 +0000 (15:26 +0100)]
ui: tape/ChangerStatus: add inventory button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 5 Feb 2021 14:26:17 +0000 (15:26 +0100)]
ui: tape/ChangerStatus: remove unnecessary buttons
they exist in the changer config pane, and are unnecessary here
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 5 Feb 2021 14:26:16 +0000 (15:26 +0100)]
tape/inventory: fix missing parameter in error message
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Fri, 5 Feb 2021 15:11:48 +0000 (16:11 +0100)]
update debian/control
Dietmar Maurer [Fri, 5 Feb 2021 11:53:43 +0000 (12:53 +0100)]
Merge branch 'master' of ssh://proxdev.maurer-it.com/rust/proxmox-backup
Dietmar Maurer [Fri, 5 Feb 2021 10:12:52 +0000 (11:12 +0100)]
install pmt binary
Dietmar Maurer [Fri, 5 Feb 2021 11:39:45 +0000 (12:39 +0100)]
depend on proxmox 0.10.2
Thomas Lamprecht [Fri, 5 Feb 2021 10:42:04 +0000 (11:42 +0100)]
docs/online-help: prefix some refs with their chapter name
and fix some issues from referenced named the same as their heading
they anchor too.
This should be fixed for real in our python plugin to scan for such
references, its probably a bug there, but as most of the problematic
ones where wrong (missing chapter prefix) anyway changing them is OK
too.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Fri, 5 Feb 2021 09:50:21 +0000 (10:50 +0100)]
tape: correctly lock the tape device
Oguz Bektas [Thu, 4 Feb 2021 15:32:46 +0000 (16:32 +0100)]
ui: autofocus after rendering text fields for 2fa
Co-Authored-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Oguz Bektas [Thu, 4 Feb 2021 15:32:47 +0000 (16:32 +0100)]
ui: wrap regexText in gettext() for translations
also fix a small typo in recovery keys text
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Dominik Csapak [Thu, 4 Feb 2021 12:56:32 +0000 (13:56 +0100)]
ui: tape/ChangerStatus: add 'is labeled' column for tapes
so that a user can see if a tape in a library is not yet labeled
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 4 Feb 2021 12:56:31 +0000 (13:56 +0100)]
ui: tape/PoolConfig: add flex to columns
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 4 Feb 2021 12:56:30 +0000 (13:56 +0100)]
ui: tape/PoolEdit: add selector for encryption keys
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 4 Feb 2021 12:56:29 +0000 (13:56 +0100)]
ui: tape: add EncryptionPanel to add/remove encryption keys
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Thu, 4 Feb 2021 15:06:38 +0000 (16:06 +0100)]
docs: index: update copyright years
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Feb 2021 11:39:46 +0000 (12:39 +0100)]
bump version to 1.0.8-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Feb 2021 11:27:13 +0000 (12:27 +0100)]
docs: tech overview: avoid 'we' and other small style fixes/additions
"we" should be avoided, it's never quite clear who is "we" in the
context here and it leads to some technical wrong meanings, e.g., we
(here assumed to be "we developers") do not read any backup data, the
Proxmox Backup client does.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Feb 2021 11:05:27 +0000 (12:05 +0100)]
docs: tech overfiew: fix line length
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 11 Dec 2020 12:17:09 +0000 (13:17 +0100)]
docs: explain some technical details about datastores/chunks
adds explanations for:
* what datastores are
* their relation with snapshots/chunks
* basic information about chunk directory structures
* fixed-/dynamically-sized chunks
* special handling of encrypted chunks
* hash collision probability
* limitation of file-based backups
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dylan Whyte [Wed, 3 Feb 2021 13:15:57 +0000 (14:15 +0100)]
ui: task summary: add verification jobs to count
fixes a bug in which verification jobs were being excluded from the
verify task summary.
Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
Dietmar Maurer [Thu, 4 Feb 2021 09:15:18 +0000 (10:15 +0100)]
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.
Dietmar Maurer [Thu, 4 Feb 2021 08:39:16 +0000 (09:39 +0100)]
tape: improve code reuse
Dietmar Maurer [Thu, 4 Feb 2021 07:54:54 +0000 (08:54 +0100)]
tape: fix tests for BlockedReader
Dietmar Maurer [Thu, 4 Feb 2021 07:36:35 +0000 (08:36 +0100)]
tape: add multi volume reader/writer implementations
We currently do not use it. Added anaways, to show the possibility.
Dietmar Maurer [Thu, 4 Feb 2021 06:58:34 +0000 (07:58 +0100)]
tape: cleanup - move tape file readers/writers into src/tape/file_formats folder
Dietmar Maurer [Thu, 4 Feb 2021 06:05:43 +0000 (07:05 +0100)]
tape: allow to abort restore tasks
Dietmar Maurer [Thu, 4 Feb 2021 05:55:18 +0000 (06:55 +0100)]
cleanup: use task_log macro
Wolfgang Bumiller [Wed, 3 Feb 2021 14:09:19 +0000 (15:09 +0100)]
HttpsConnector: use hostname instead of URL again
fixes connecting to hosts with valid certificates without a
pinned fingerprint
this was accidentally changed in the tokio-1.0 updates
apparently
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fixes: 0f860f712f86 ("tokio 1.0: update to new tokio-openssl interface")
Dietmar Maurer [Wed, 3 Feb 2021 12:15:18 +0000 (13:15 +0100)]
tape: BlockedReader - always consume EOF
Thomas Lamprecht [Wed, 3 Feb 2021 11:04:27 +0000 (12:04 +0100)]
update copyright years
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 1 Feb 2021 15:29:45 +0000 (16:29 +0100)]
bump version to 1.0.7-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 3 Feb 2021 09:33:32 +0000 (10:33 +0100)]
docs: tfa: add screenshots
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>