Dietmar Maurer
8bc5eebeb8
depend on package mt-st
...
We do not use the mt utility directly, but the package also provides
an udev helper to correctly initialize tape drives (stinit). Also,
the mt utility is helpful for debugging tap issues.
2020-12-11 06:38:45 +01:00
Dietmar Maurer
be1a8c94ae
fix build: add missing file
2020-12-10 13:40:20 +01:00
Dietmar Maurer
4606f34353
tape: implement read-label command
2020-12-10 13:20:39 +01:00
Dietmar Maurer
7bb720cb4d
tape: implement label command
2020-12-10 12:30:27 +01:00
Dietmar Maurer
c4d8542ec1
tape: add media pool handling
2020-12-10 11:41:35 +01:00
Dietmar Maurer
9700d5374a
tape: add media pool cli
2020-12-10 11:13:12 +01:00
Dietmar Maurer
05e90d6463
tape: add media pool config api
2020-12-10 10:52:27 +01:00
Dietmar Maurer
55118ca18e
tape: correctly sort drive api subdir
2020-12-10 10:09:12 +01:00
Dietmar Maurer
f70d8091d3
tape: implement option changer-drive-id
2020-12-10 09:09:06 +01:00
Dietmar Maurer
a3c709ef21
tape: cli cleanup - avoid api redefinition
2020-12-10 08:35:11 +01:00
Dietmar Maurer
4917f1e2d4
tape: implement delete property for drive update command
2020-12-10 08:25:46 +01:00
Dietmar Maurer
93829fc680
tape: cleanup load-slot api
2020-12-10 08:04:55 +01:00
Dietmar Maurer
5605ca5619
tape: cli cleanup - rename scana-for-* into scan
2020-12-10 07:58:45 +01:00
Dietmar Maurer
e49f0c03d9
tape: implement load-media command
2020-12-10 07:52:56 +01:00
Dietmar Maurer
0098b712a5
tape: implement eject
2020-12-09 17:50:48 +01:00
Dietmar Maurer
5fb694e8c0
tape: implement rewind
2020-12-09 17:43:38 +01:00
Dietmar Maurer
583a68a446
tape: implement erase media
2020-12-09 17:35:31 +01:00
Dietmar Maurer
e6604cf391
tape: add command line interface proxmox-tape
2020-12-09 13:00:20 +01:00
Dietmar Maurer
43cfb3c35a
tape: do not remove changer while still used
2020-12-09 12:55:54 +01:00
Dietmar Maurer
8a16c571d2
tape: add changer property to drive create api
2020-12-09 12:55:10 +01:00
Dietmar Maurer
314652a499
tape: set protected flag for configuration change api methods
2020-12-09 12:02:55 +01:00
Dietmar Maurer
6b68e5d597
client: move connect_to_localhost into client module
2020-12-09 11:59:50 +01:00
Dietmar Maurer
cafd51bf42
tape: add media state database
2020-12-09 11:21:56 +01:00
Dietmar Maurer
eaff09f483
update control file
2020-12-09 11:21:56 +01:00
Dietmar Maurer
5d90860688
tape: expose basic tape/changer functionality at api2/tape/
2020-12-08 15:42:50 +01:00
Dietmar Maurer
5ba83ed099
tape: check digest on config update
2020-12-08 11:24:38 +01:00
Dietmar Maurer
50bf10ad56
tape: add changer configuration API
2020-12-08 09:04:56 +01:00
Dietmar Maurer
16d444c979
tape: add tape drive configuration API
2020-12-07 13:04:32 +01:00
Dietmar Maurer
fa9c9be737
tape: add tape device driver
2020-12-07 08:29:22 +01:00
Dietmar Maurer
2e7014e31d
tape: add BlockeReader/BlockedWriter streams
...
This is the basic format used to write data to tapes.
2020-12-06 12:09:55 +01:00
Dietmar Maurer
a84050c1f0
tape: add BlockHeader impl
2020-12-06 10:26:24 +01:00
Dietmar Maurer
7c9835465e
tape: add helpers to emulate tape read/write behavior
2020-12-06 09:41:16 +01:00
Dietmar Maurer
ec00200411
fix bug #3189 : fix change_password permission checks, run protected
2020-12-05 16:20:29 +01:00
Dietmar Maurer
956e5fec1f
depend on mtx (tape changer control)
...
A very small package with no additional dependencies.
2020-12-05 14:54:12 +01:00
Dietmar Maurer
b107fdb99a
tape: add tape changer support using 'mtx' command
2020-12-05 14:54:12 +01:00
Dietmar Maurer
7320e9ff4b
tape: add media invenotry
2020-12-05 12:54:15 +01:00
Dietmar Maurer
c4d2d54a6d
tape: define useful constants
2020-12-05 12:20:46 +01:00
Dietmar Maurer
1142350e8d
tape: add media pool config
2020-12-05 11:59:38 +01:00
Dietmar Maurer
d735b31345
tape: add tape read trait
2020-12-05 10:54:38 +01:00
Dietmar Maurer
e211fee562
tape: add tape write trait
2020-12-05 10:51:34 +01:00
Dietmar Maurer
8c15560b68
tape: add file format definitions
2020-12-05 10:45:08 +01:00
Dietmar Maurer
327e93711f
commit missing file: tape api type definitions
2020-12-04 16:00:52 +01:00
Dietmar Maurer
a076571470
tape support: add drive configuration
2020-12-04 15:42:32 +01:00
Dietmar Maurer
ff50c07ebf
start experimental tape management GUI
...
You need to set the environment TEST_TAPE_GUI=1 to enable this.
The current GUI is only a placeholder.
2020-12-04 12:50:08 +01:00
Dietmar Maurer
37f1b7dd8d
docs: add more thoughts about chunk size
2020-12-01 10:28:06 +01:00
Dietmar Maurer
60e6ee46de
doc: add some thoughts about large chunk sizes
2020-12-01 08:47:15 +01:00
Dietmar Maurer
2260f065d4
cleanup: use extra file for StoreProgress
2020-12-01 06:34:33 +01:00
Dietmar Maurer
6eff8dec4f
cleanup: remove unnecessary StoreProgress clone()
2020-12-01 06:29:11 +01:00
Dietmar Maurer
52f53d8280
control: update versions
2020-11-25 10:35:51 +01:00
Dietmar Maurer
27b8a3f671
bump version to 1.0.4-1
2020-11-25 08:03:11 +01:00
Dietmar Maurer
abf9b6da42
docs: fix renamed commands
2020-11-25 08:03:11 +01:00
Dietmar Maurer
0c9209b04c
cli: rename command "upload-log" to "snapshot upload-log"
2020-11-25 07:57:39 +01:00
Dietmar Maurer
edebd52374
cli: rename command "forget" to "snapshot forget"
2020-11-25 07:57:39 +01:00
Dietmar Maurer
61205f00fb
cli: rename command "files" to "snapshot files"
2020-11-25 07:57:39 +01:00
Dietmar Maurer
a303e00289
fingerprint: add new() method
2020-11-25 07:57:39 +01:00
Dietmar Maurer
731eeef25b
cli: use new alias feature for "snapshots"
...
Now maps to "snapshot list".
2020-11-24 13:26:43 +01:00
Dietmar Maurer
81d10c3b37
cleanup: remove dead code
2020-11-24 08:03:00 +01:00
Dietmar Maurer
5e17dbf2bb
cli: cleanup 'key show' - use format_and_print_result_full
...
We now expose all key derivation functions on the cli, so users can
choose between scrypt or pbkdf2.
2020-11-24 07:32:34 +01:00
Dietmar Maurer and Thomas Lamprecht
6364115b4b
OnlineHelpInfo.js problems
...
Anybody known why I always get the following diff:
2020-11-23 12:57:41 +01:00
Dietmar Maurer
2133cd9103
update debian/control
2020-11-23 12:13:58 +01:00
Dietmar Maurer
0c83e8891e
ui: fix task description
2020-11-10 11:53:39 +01:00
Dietmar Maurer
30f73fa2e0
fix bug #3060 : continue sync if we cannot aquire the group lock
2020-11-10 11:29:36 +01:00
Dietmar Maurer
2c9f274efa
ui: add help tool to user and remote config
2020-11-10 09:23:22 +01:00
Dietmar Maurer
31112c79ac
ui: add help tool to datastore panel
2020-11-10 09:15:12 +01:00
Dietmar Maurer
a6310ec294
ui: fix widget height in dashboard
2020-11-10 08:12:35 +01:00
Dietmar Maurer
98d9323534
ui: add link to www.proxmox.com for subscription plans
2020-11-10 08:07:49 +01:00
Dietmar Maurer
2791318ff1
fix bug #3121 : forbid removing used reemotes
2020-11-09 12:48:29 +01:00
Dietmar Maurer
beeadb8a4b
Remove reference to backup@pam
2020-11-06 16:32:35 +01:00
Dietmar Maurer
6823fdc7f9
ui: improve prune simulator layout
2020-11-06 12:12:59 +01:00
Dietmar Maurer
1b37ebf6f6
ui: require owner for sync jobs
2020-11-06 08:48:07 +01:00
Dietmar Maurer
043406d662
ui: use pbsUserSelector for BackupGroupChangeOwner
2020-11-06 08:48:07 +01:00
Dietmar Maurer
ad54df3178
get rid of backup@pam
2020-11-06 08:39:30 +01:00
Dietmar Maurer
c26c9390ff
config: make notify a property string
...
For example "gc=never,verify=always,sync=error".
2020-11-05 11:35:14 +01:00
Dietmar Maurer
f47c1d3a2f
proxy: use new datastore notify settings
2020-11-04 11:54:29 +01:00
Dietmar Maurer
6e545d0058
config: allow to configure who receives job notify emails
2020-11-04 11:54:29 +01:00
Dietmar Maurer
42ca9e918a
sync: improve log format
2020-11-04 09:10:56 +01:00
Dietmar Maurer
ea93bea7bf
proxy: log if there are too many open connections
2020-11-04 08:49:35 +01:00
Dietmar Maurer
0081903f7c
fix bug #2870 : use updated tickets
2020-11-04 08:20:36 +01:00
Dietmar Maurer
c53797f627
ui: set default deduplication factor to 1.0
2020-11-04 07:12:55 +01:00
Dietmar Maurer
e1d367df47
proxy: use env PROXMOX_DEBUG to enable/disable debug output
...
We only print early connection errors when this env var is set.
2020-11-04 06:55:57 +01:00
Dietmar Maurer
71f413cd27
cleanup: use Arc to count open connections
2020-11-04 06:35:44 +01:00
Dietmar Maurer
48aa2b93b7
fix #3106 : correctly queue incoming connections
2020-11-04 06:24:42 +01:00
Dietmar Maurer
038ee59960
cleanup: use const_regex, use BACKUP_ID_REGEX for api too
2020-11-03 06:36:50 +01:00
Dietmar Maurer
645a47ff6e
config: support netmask when parsing interfaces file
2020-11-02 14:32:35 +01:00
Dietmar Maurer
b1456a8ea7
ui: fix verificationjob task description
2020-11-02 10:15:52 +01:00
Dietmar Maurer
3066f56481
notify: add link to server GUI
2020-11-02 09:12:14 +01:00
Dietmar Maurer
07ca4e3609
gc: remove extra empty lines in email notification template
2020-11-02 09:12:14 +01:00
Dietmar Maurer
1143f6ca93
cleanup: fix wording in GC status emails
2020-10-31 07:56:42 +01:00
Dietmar Maurer
3b707fbb8f
proxy: split out code to run garbage collection job
2020-10-30 11:01:45 +01:00
Dietmar Maurer
b15751bf55
check_schedule cleanup: use &str instead of String
...
This way we can avoid many clone() calls.
2020-10-30 09:49:50 +01:00
Dietmar Maurer
9e733dae48
send sync job status emails
2020-10-29 12:22:50 +01:00
Dietmar Maurer
bfea476be2
schedule_datastore_sync_jobs: remove unneccessary clone()
2020-10-29 12:22:41 +01:00
Dietmar Maurer
385cf2bd9d
send_job_status_mail: corectly escape html characters
2020-10-29 11:22:08 +01:00
Dietmar Maurer
d6373f3525
garbage_collection: log deduplication factor
2020-10-29 11:13:01 +01:00
Dietmar Maurer
b4fb262335
garbage_collection: log bad chunks (still_bad value)
2020-10-29 10:24:31 +01:00
Dietmar Maurer
d771a608f5
verify: directly pass manifest to filter function
...
In order to avoid loading the manifest twice during verify.
2020-10-29 07:59:19 +01:00
Dietmar Maurer
328df3b507
verify: avoid generics and use &dyn Fn() for filter
2020-10-28 13:19:21 +01:00
Dietmar Maurer
a4915dfc2b
verify: improve code reuse, fix filter function
...
Try to reuse verify_all_backups(), because this function has better
logging and well defined snaphot order.
2020-10-28 12:58:15 +01:00
Dietmar Maurer
d642802d8c
jobstate: fix doctest
2020-10-28 10:52:16 +01:00
Dietmar Maurer
a20fcab060
fix compile warning
2020-10-28 10:47:30 +01:00