Commit Graph

38 Commits

Author SHA1 Message Date
Dietmar Maurer
8187f6b0ed load new LXC vzdump plugin 2015-04-29 09:11:44 +02:00
Dietmar Maurer
b13a7a31e0 vzdump: improve error message 2015-04-28 08:02:04 +02:00
Dietmar Maurer
dafb62468e remove OpenVZ related code
There is still no OpenVZ for kernel 3.10 or newer, so we remove that code now.
2015-03-27 13:43:59 +01:00
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
Dietmar Maurer
02e5975925 avoid warning about uninitialized value 2014-11-26 06:55:55 +01:00
Tobias Doerffel
7a5fd13180 VZDump: fixed typo in description for size parameter
Signed-off-by: Tobias Doerffel <tobias.doerffel@ed-chemnitz.de>
2014-11-24 06:35:47 +01:00
Tobias Doerffel
8b4b4860ec VZDump: added email notification setting
It's now possible to make VZDump only send a mail in case of a failure.

Signed-off-by: Tobias Doerffel <tobias.doerffel@ed-chemnitz.de>
2014-11-24 06:35:15 +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
Stanislav German-Evtushenko
4b15265645 GUI: add new email_from option to datacenter.cfg
Signed-off-by: Stanislav German-Evtushenko <ginermail@gmail.com>
2014-09-04 17:16:02 +02:00
Dietmar Maurer
3c963d12cf vzdump: add MIME-Version header
Some clients need this to correctly interpret multipart messages.
2014-02-13 08:26:56 +01:00
Dietmar Maurer
fe6643b6e9 vzdump: remove temporary directories
This bug was introduced with commit a107e264c9
2013-10-04 06:29:17 +02:00
Dietmar Maurer
a107e264c9 bump version to 3.1-16 2013-10-01 10:37:59 +02:00
Dietmar Maurer
8f3315e104 fix bug #456: allow glusterfs as backup storage 2013-09-16 08:13:48 +02:00
Dietmar Maurer
28272ca2c5 bump version to 3.1-11
vzdump: fix hook script environment
2013-09-13 06:55:55 +02:00
Local User
ff00abe656 Pass what storage ID is being used to vzdump hook scripts
Signed-off-by: Mark Casey <markc@unifiedgroup.com>
2013-09-12 06:20:30 +02:00
Dietmar Maurer
84ad4385e0 vzdump: correctly handle maxfiles parameter
Passing value 0 mean unlimited.
2013-09-05 10:59:05 +02:00
Dietmar Maurer
757fd3d5b9 support new qemu vma backup files
bump version to 2.3-1
2012-12-13 12:55:09 +01:00
Dietmar Maurer
c5be0f8c43 also run 'backup-start' hook in snapshot mode 2012-10-12 06:01:42 +02:00
Dietmar Maurer
59af6aee78 fix vzdump parameter parser (allow --stdout) 2012-05-02 11:13:13 +02:00
Dietmar Maurer
8572d646c3 avoid warning if df return negative value for available bytes 2012-04-16 09:40:26 +02:00
Dietmar Maurer
19d5c0f227 fix bug 124: correctly return maxfiles flag 2012-03-23 12:45:10 +01:00
Dietmar Maurer
899b837395 vzdump: add new 'remove' flag to disable automatic file removal
The maxfiles flags is now a storage related flag. So we set that on
the storage definition, and removed it from the scheduled backup GUI.
We use '--remove 0' for 'Backup now', so the user need to remove
old backups himself.
2012-03-23 10:05:14 +01:00
Dietmar Maurer
d93d0459d0 fix bug 101: use run_command to avoid locale errors 2012-03-01 10:46:00 +01:00
Dietmar Maurer
d7550e095e allow to select gzip or lzop in vzdump
lzop is much faster, and we use that by default now.
2012-02-07 10:35:53 +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
61ca4432be fix typo 2011-11-14 14:08:33 +01:00
Dietmar Maurer
5dc86eb891 fix bug 32: correctly parse 'df' output (untaint values) 2011-11-14 09:26:10 +01:00
Dietmar Maurer
31aef76131 cleanup vzdump backup/cron code 2011-10-31 08:47:18 +01:00
Dietmar Maurer
47664cbe9d use -mode instead of -snapshot, -suspend and -stop 2011-10-28 08:00:34 +02: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
8e3abaf440 remove unused function read_firstfile 2011-10-17 14:04:09 +02:00
Dietmar Maurer
7f91030611 use new logfunc callback for run_command 2011-10-14 10:54:05 +02:00
Dietmar Maurer
4a4051d8c5 adopt vzdump to pve 2 2011-10-13 14:33:12 +02:00
Dietmar Maurer
aaeeeebe40 moved vzdump sources to this packages
We want to share code and use new PVE 2 framework features. So it is no longer possible to distribute this a separate packages.
2011-10-12 08:30:05 +02:00