pve-manager/PVE/API2
Dominik Csapak 305921b1ab api/backup: handle new vzdump jobs
in addition to listing the vzdump.cron jobs, also list from the
jobs.cfg file.

updates/creations go into the new jobs.cfg only now
and on update, starttime+dow get converted to a schedule
this transformation is straight forward, since 'dow'
is already in a compatible format (e.g. 'mon,tue') and we simply
append the starttime (if any)

id on creation is optional for now (for api compat), but will
be autogenerated (uuid). on update, we simply take the id from before
(the ids of the other entries in vzdump.cron will change but they would
anyway)

as long as we have the vzdump.cron file, we must lock both
vzdump.cron and jobs.cfg, since we often update both

we also change the backupinfo api call to read the jobs.cfg too

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-10 16:11:00 +01:00
..
Ceph api: ceph: fix getting ceph versions 2021-11-10 14:36:22 +01:00
Cluster api/backup: handle new vzdump jobs 2021-11-10 16:11:00 +01:00
Hardware fix #3490: show more pci devices by default 2021-07-07 18:37:07 +02:00
ACME.pm api: ACME revoke: do not abort if CA is just expired 2020-08-19 18:52:48 +02:00
ACMEAccount.pm api: acme: fix API index entry for challenge-schema 2021-05-05 15:52:49 +02:00
ACMEPlugin.pm ACME: add comment for implicit standalone plugin fallback 2020-05-07 13:53:05 +02:00
APT.pm api: apt: add PUT and POST handler for repositories 2021-06-30 21:03:38 +02:00
Backup.pm api/backup: handle new vzdump jobs 2021-11-10 16:11:00 +01:00
Capabilities.pm api: move cpu path into qemu/capabilities 2021-06-09 11:29:34 +02:00
Ceph.pm api: ceph: remove moved 'flags' calls 2021-06-09 11:29:34 +02:00
Certificates.pm fix #2771: relax cert API endpoints permissions 2020-06-17 14:00:43 +02:00
Cluster.pm move BackupInfo module into Cluster 2021-07-02 12:50:49 +02:00
HAConfig.pm use new ha infrastructure 2015-04-03 08:36:59 +02:00
Hardware.pm api: add usb list in hardware endpoint 2020-12-02 11:27:02 +01:00
Makefile move BackupInfo module into Cluster 2021-07-02 12:50:49 +02:00
Network.pm api: network apply: fix check for ifupdown2 origin 2021-07-15 14:30:52 +02:00
NodeConfig.pm node config: verify abstract relations on write 2020-05-03 14:10:17 +02:00
Nodes.pm api: nodes: add query_url_metadata method 2021-07-03 00:36:20 +02:00
Pool.pm fix #3402: add Pool.Audit permission 2021-06-01 10:31:11 +02:00
Replication.pm cleanup 2017-12-14 09:07:00 +01:00
ReplicationConfig.pm fix iteration over hash without keys 2020-11-20 15:34:27 +01:00
Services.pm api: services: propagate "uninstalled" state for units 2021-07-13 18:48:30 +02:00
Subscription.pm ui: fix system report window indentation + cleanups 2020-05-27 14:11:16 +02:00
Tasks.pm Add/fix option descriptions in pvenode api docs 2021-08-31 17:02:29 +02:00
VZDump.pm vdzump: whitespace/extra-lines clean up 2021-06-18 14:35:25 +02:00