Commit Graph

13 Commits

Author SHA1 Message Date
Dietmar Maurer
eab837c4c4 cleanup vzdump -stop implementation
* do not unlink $pidfile inside stop_running_backups to avoid race conditions
* use pve UPID to save pid (see PVE::Tools::upid_decode)
* allow to pass -stop parameter to nomal backup job
* simple return 'OK' instead of calling exit() inside API call.
* rename stop_all_backups to stop_running_backups
2015-01-20 09:35:01 +01:00
Wolfgang Link
8682f6fcb1 Fix backup failure at shutdown.
This fix include a new function of vzdump.
Now you can call vzdump -stop and the backup will be aborted.
Also if the pve-manager init script stop the process, vzdump -stop will called.

Signed-off-by: Wolfgang Link <wolfgang@linksystems.org>
2015-01-20 08:06:59 +01:00
Stefan Priebe
6ec9de4426 VZDump: send an error email in case of lock failure
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2014-10-23 10:57:22 +02:00
Dietmar Maurer
336ec53a48 fix vzdump --exclude-path 2012-05-30 07:25:49 +02:00
Dietmar Maurer
4412265f02 check storage permissions on vzdump API 2012-02-06 11:41:48 +01:00
Dietmar Maurer
98e84b16d5 set permissions for VZDump API 2012-02-06 11:17:42 +01:00
Dietmar Maurer
a7e42354de fix bug 45: skip external VMs 2011-11-28 10:19:48 +01:00
Dietmar Maurer
f4a8bab48f allow exclude-path in /etc/vzdump.conf 2011-11-28 08:14:58 +01:00
Dietmar Maurer
49046e5392 fix bug 39: proxy backup request to correct node 2011-11-17 11:51:47 +01:00
Dietmar Maurer
31aef76131 cleanup vzdump backup/cron code 2011-10-31 08:47:18 +01:00
Dietmar Maurer
ac27b58d10 finnish and cleanup vzdump API 2011-10-25 09:28:55 +02:00
Dietmar Maurer
30edfad922 start backup/restore GUI 2011-10-18 12:49:14 +02:00
Dietmar Maurer
bf58f8ddda plug VZDump into our API 2011-10-14 13:43:06 +02:00