Hannes Laimer and Thomas Lamprecht
5fd823c3f2
api: add get_active_operations endpoint
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2022-04-12 15:29:14 +02:00
Hannes Laimer and Thomas Lamprecht
758c6ed588
api: make maintenance_type updatable
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2022-04-12 15:29:14 +02:00
Hannes Laimer and Thomas Lamprecht
4bc84a6549
pbs-datastore: add active operations tracking
...
Saves the currently active read/write operation counts in a file. The
file is updated whenever a reference returned by lookup_datastore is
dropped and whenever a reference is returned by lookup_datastore. The
files are locked before every access, there is one file per datastore.
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2022-04-12 15:29:14 +02:00
Hannes Laimer and Thomas Lamprecht
e9d2fc9362
datastore: add check for maintenance in lookup
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2022-04-12 15:29:14 +02:00
Hannes Laimer and Thomas Lamprecht
2a05c75ff1
api-types: add maintenance type
...
+ bump proxmox-schema dep to 1.2.1 (for quoted property string)
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2022-04-12 15:29:14 +02:00
Hannes Laimer and Fabian Grünbichler
f37167aeff
api2: make tls ciphers updatable
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2022-01-14 11:02:07 +01:00
Hannes Laimer and Fabian Grünbichler
2eba3967b2
proxy: use ciphers from config if set
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2022-01-14 11:02:07 +01:00
Hannes Laimer and Fabian Grünbichler
1ec7f7e6f2
config: add tls ciphers to NodeConfig
...
for TLS 1.3 and for TLS <= 1.2
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2022-01-14 11:02:07 +01:00
Hannes Laimer and Dietmar Maurer
c772a4a683
ui: add new options tab under configuration
...
... and add from-email + move http-proxy there
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2022-01-04 08:24:17 +01:00
Hannes Laimer and Dietmar Maurer
e466526137
server: use configured email-from for sending mail
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2022-01-04 08:09:27 +01:00
Hannes Laimer and Dietmar Maurer
62222ed068
api2: make email-from updatable
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2022-01-04 08:09:27 +01:00
Hannes Laimer and Dietmar Maurer
f06b5283b0
config: add email-from to NodeConfig
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2022-01-04 08:05:34 +01:00
Hannes Laimer and Thomas Lamprecht
5a83930667
docs/technical-overview: add troubleshooting section
2021-09-22 07:29:00 +02:00
Hannes Laimer and Wolfgang Bumiller
3e593a2459
add index recovery to pb-debug
...
Adds possibility to recover data from an index file. Options:
- chunks: path to the directory where the chunks are saved
- file: the index file that should be recovered(must be either .fidx or
didx)
- [opt] keyfile: path to a keyfile, if the data was encrypted, a keyfile is
needed
- [opt] skip-crc: boolean, if true, read chunks wont be verified with their
crc-sum, increases the restore speed by a lot
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
2021-08-31 13:19:56 +02:00
Hannes Laimer and Wolfgang Bumiller
7c5287bb95
add file inspection to pb-debug
...
Adds possibility to inspect .blob, .fidx and .didx files. For index
files a list of the chunks referenced will be printed in addition to
some other information. .blob files can be decoded into file or directly
into stdout. Without decode the tool just prints the size and encryption
mode of the blob file. Options:
- file: path to the file
- [opt] decode: path to a file or stdout(-), if specidied, the file will be
decoded into the specified location [only for blob files, no effect
with index files]
- [opt] keyfile: path to a keyfile, needed if decode is specified and the
data was encrypted
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
2021-08-31 13:19:54 +02:00
Hannes Laimer and Wolfgang Bumiller
7c72ae04f1
add chunk inspection to pb-debug
...
Adds possibility to inspect chunks and find indexes that reference the
chunk. Options:
- chunk: path to the chunk file
- [opt] decode: path to a file or to stdout(-), if specified, the
chunk will be decoded into the specified location
- [opt] digest: needed when searching for references, if set, it will
be used for verification when decoding
- [opt] keyfile: path to a keyfile, needed if decode is specified and
the data was encrypted
- [opt] reference-filter: path in which indexes that reference the
chunk should be searched, can be a group, snapshot or the whole
datastore, if not specified no references will be searched
- [default=true] use-filename-as-digest: use chunk-filename as digest,
if no digest is specified
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
2021-08-31 13:19:51 +02:00
Hannes Laimer and Dietmar Maurer
140c159b36
bump proxmox-apt to 0.6 in debian/control
...
Build deps could not be installed
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2021-08-02 09:32:27 +02:00
Hannes Laimer and Thomas Lamprecht
eb1c59cc2a
api: add keep-job-configs flag to datastore remove endpoint
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
Suggested Fixes:
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2021-07-08 12:15:50 +02:00
Hannes Laimer and Thomas Lamprecht
60abf03f05
close #3459 : manager: add --ignore-verified and --outdated-after parameters
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
Reviewed-By: Dominik Csapak <d.csapak@proxmox.com >
Tested-By: Dominik Csapak <d.csapak@proxmox.com >
2021-06-28 11:03:51 +02:00
Hannes Laimer and Thomas Lamprecht
dcbf29e71b
api: add ignore-verified and outdated-after to datastore verify endpoint
...
preparatory change for fixing #3459
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
Reviewed-By: Dominik Csapak <d.csapak@proxmox.com >
Tested-By: Dominik Csapak <d.csapak@proxmox.com >
2021-06-28 11:03:51 +02:00
Hannes Laimer and Thomas Lamprecht
037e6c0ca8
verify-job: move snapshot filter into function
...
preparatory steps for fixing #3459
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
Reviewed-By: Dominik Csapak <d.csapak@proxmox.com >
Tested-By: Dominik Csapak <d.csapak@proxmox.com >
2021-06-28 11:03:44 +02:00
Hannes Laimer and Wolfgang Bumiller
f0d23e5370
add ctime and size function to IndexFile trait
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2021-04-30 11:40:45 +02:00
Hannes Laimer and Thomas Lamprecht
9a556c8a30
manager: add report cli command
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-11-03 15:16:42 +01:00
Hannes Laimer and Thomas Lamprecht
46dce62be6
report: add webui button for system report
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-11-03 15:16:42 +01:00
Hannes Laimer and Thomas Lamprecht
b0ef9631e6
report: add api endpoint and function to generate report
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-11-03 15:16:42 +01:00
Hannes Laimer and Dietmar Maurer
82c05b41fa
proxy: extract commonly used logic for scheduling into new function
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-30 09:49:50 +01:00
Hannes Laimer and Dietmar Maurer
b8d9079835
proxy: move prune logic into new file
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-30 09:49:50 +01:00
Hannes Laimer and Thomas Lamprecht
bdc208af48
postinst: correct invalid old datastore configs
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-21 12:51:35 +02:00
Hannes Laimer and Thomas Lamprecht
2ef1b6290f
api proxy: remove old verification scheduling
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-21 12:51:35 +02:00
Hannes Laimer and Thomas Lamprecht
df0bdf6be7
ui: add task descriptions for the different types of verification(job, snapshot, group, ds)
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-21 12:51:35 +02:00
Hannes Laimer and Thomas Lamprecht
8b47a23002
ui: add verification job edit window
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-21 12:51:35 +02:00
Hannes Laimer and Thomas Lamprecht
29615fe838
ui: add verification job view
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-21 12:51:35 +02:00
Hannes Laimer and Thomas Lamprecht
133042b5d8
set a different worker_type based on what is going to be verified(snapshot, group, ds)
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-21 12:51:35 +02:00
Hannes Laimer and Thomas Lamprecht
73df9c515b
proxy: add scheduling for verification jobs
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-21 12:51:35 +02:00
Hannes Laimer and Thomas Lamprecht
8d1beca7e8
api2: add verification admin endpoint and do_verification_job function
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-21 12:51:35 +02:00
Hannes Laimer and Thomas Lamprecht
9b2bad7af0
api2: add verification job config endpoint
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-21 12:51:35 +02:00
Hannes Laimer and Thomas Lamprecht
78efafc2d0
rename VERIFY_SCHEDULE_SCHEMA to VERIFICATION_SCHEDULE_SCHEMA
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-21 12:51:35 +02:00
Hannes Laimer and Dietmar Maurer
b0b00c4a47
add "Build" section to README.rst
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-10-09 12:56:11 +02:00
Hannes Laimer and Dietmar Maurer
c040ec22f7
add verification scheduling to proxmox-backup-proxy
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-09-18 12:14:05 +02:00
Hannes Laimer and Dietmar Maurer
43f627ba92
ui: add verify-schedule field to edit datastore form
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-09-18 12:13:09 +02:00
Hannes Laimer and Dietmar Maurer
2b67de2e3f
api2: make verify_schedule deletable
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-09-18 12:12:29 +02:00
Hannes Laimer and Dietmar Maurer
477859662a
api2: add optional verify-schdule field to create/update datastore endpoint
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-09-18 12:12:16 +02:00
Hannes Laimer and Dietmar Maurer
ccd7241e2f
add verify_schedule field to DataStoreConfig
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-09-18 12:11:55 +02:00
Hannes Laimer and Dietmar Maurer
f37ef25bdd
api2: add VERIFY_SCHEDULE_SCHEMA
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-09-18 12:11:39 +02:00
Hannes Laimer and Dietmar Maurer
61d7b5013c
add benchmark flag to backup creation for proper cleanup when running a benchmark
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com >
2020-09-10 08:25:24 +02:00
Hannes Laimer and Dietmar Maurer
be614c625f
api2/node/../disks/directory: added DELETE endpoint for removal of mount-units
...
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
2020-08-14 07:06:10 +02:00