Fabian Grünbichler
f0bbc08419
restrict vzdump cron options
...
modeled after the VZDump API path, but since we are
restricted to Sys.Modify users already, we only need to
restrict these three options.
2016-10-17 10:36:06 +02:00
Thomas Lamprecht
4341db1d2f
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>
2015-07-27 09:15:09 +02:00
Dietmar Maurer
94c47be79d
fix typo
2015-06-02 08:42:32 +02:00
Tobias Doerffel
f9adc7763d
Fixed typo in backup API
...
Signed-off-by: Tobias Doerffel <tobias.doerffel@ed-chemnitz.de>
2014-11-24 06:36:48 +01:00
Dietmar Maurer
52878b0a38
use Digest::SHA instead of Digest::SHA1
2012-03-20 12:33:38 +01:00
Dietmar Maurer
937515d61b
add permissions for backup API
2012-02-06 08:17:25 +01:00
Dietmar Maurer
4baf5d13d1
use new syntax for PVE::JSONSchema::get_options
2011-11-24 12:22:24 +01:00
Dietmar Maurer
31aef76131
cleanup vzdump backup/cron code
2011-10-31 08:47:18 +01:00
Dietmar Maurer
b0905e3a84
use vzdump.cron instead of vzdump
2011-10-31 07:33:04 +01:00
Dietmar Maurer
53c6bb6cde
add delete option to backup api
2011-10-28 07:59:00 +02:00
Dietmar Maurer
7625ea19ee
use starttime hh:mm instead of hour and minute
2011-10-27 09:44:24 +02:00
Dietmar Maurer
063bb19ba8
correctly quote shell arguments inside vzdump cron file
2011-10-25 13:09:49 +02:00
Dietmar Maurer
ac27b58d10
finnish and cleanup vzdump API
2011-10-25 09:28:55 +02:00