]> git.proxmox.com Git - pve-manager.git/commit - PVE/API2/Backup.pm
Added functionality do disable temporary a backup job
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Jul 2015 07:27:41 +0000 (09:27 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 27 Jul 2015 07:15:09 +0000 (09:15 +0200)
commit4341db1d2f2bc55e33f21a7d50f80f3694750286
tree510328052941e5583ec40db1ad8f30abdd2274aa
parent3f2577db0b3d4ddf8f0f156970614a140f9586e2
Added functionality do disable temporary a backup job

Added an option to disable a backup job while preserving its
settings. When a job is disabled a '#' is added in front of the vzdump
command in the vzdump.cron file. So the cron job still fires,
but only a comment gets executed. If we would comment out the cron job
a bit more changes to the parser would be needed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Backup.pm
PVE/VZDump.pm