Wolfgang Link
2152b2b8e5
Fix #1245 : Fix snapshot parser.
...
Make the snapshot parser more exact.
This avoid that a wrong snap-name will returned
if two or more job names has the same beginning.
2017-01-12 11:47:36 +01:00
Dietmar Maurer
4d90ced021
use new repoman for upload target
2016-09-06 08:15:28 +02:00
Dietmar Maurer
2c7ff4772f
bump version toö 1.6-12
2016-09-06 08:13:28 +02:00
Wolfgang Link
7f5254ba32
Add signal handling when we sync.
...
This gives the capability to clean up, if a error occurs.
2016-08-02 12:41:37 +02:00
Wolfgang Link
adede52a99
Add ssh BatchMode.
...
In case of connection lost the ssh keeps the zfs receive running and it is not possible to make a new sync.
2016-08-02 12:41:34 +02:00
Wolfgang Link
c8c745ec98
Remove switch module.
...
Switch module is moved out the perl core.
2016-08-02 11:58:21 +02:00
Dietmar Maurer
c0cf39ec6d
bump version to 1.6-11
2016-06-16 11:46:53 +02:00
Wolfgang Link
a281362015
fix use path as source
2016-06-16 11:45:05 +02:00
Dietmar Maurer
3927ecdb0a
fix typo
2016-06-16 11:44:31 +02:00
Wolfgang Link
148408c325
Make return value logical correct
2016-06-16 11:43:54 +02:00
Dietmar Maurer
e7fcc5c345
bump version to 1.6-10
2016-06-02 10:58:13 +02:00
Wolfgang Link
e5f52a63a8
fix #1004 adapt regex to new schema
2016-06-02 10:57:17 +02:00
Dietmar Maurer
51509434a5
bump version to 1.6-9
2016-03-09 14:44:41 +01:00
Fabian Grünbichler
6cc5bf8eb9
Fix variable name
...
Since $param->{vmid} is never set, this check could not
trigger! using the correct $source->{vmid} works as expected
2016-03-09 14:43:58 +01:00
Fabian Grünbichler
947c04dcf2
fix #910 : Correctly handle undef
2016-03-09 14:43:40 +01:00
Dietmar Maurer
b56d73fbc2
set RELEASE=4.1
2016-02-08 14:41:05 +01:00
Dietmar Maurer
0a0c48897d
bump version to 1.6-8
2016-02-08 14:40:22 +01:00
Dominik Csapak
4818684706
fix #887 add "--limit" option to cron
...
add the --limit option when creating the cron entry
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-08 14:39:29 +01:00
Dietmar Maurer
da5b078ff1
bump version to 1.6-7
2015-11-26 12:08:30 +01:00
Wolfgang Bumiller
fa07b081d3
safer disk matching
2015-11-26 12:07:32 +01:00
Dietmar Maurer
770a8ff2ee
bump version to 1.6-6
2015-11-14 18:35:36 +01:00
Wolfgang Link
3daaef60b7
Change output format for list and status
2015-11-14 18:33:12 +01:00
Wolfgang Link
3db33e1f60
fix bug #813 : allow mountpoints or VMdisk which are not on zfs, if they are not include in backup.
...
LXC: MP are in the default setting exclude from backup, so we do not sync mp at default.
if they have the flag backup=1 we sync them.
QEMU: VMDisk will be synced always except they have a flag backup=no.
2015-11-14 18:32:55 +01:00
Dietmar Maurer
5a3a180e11
fix version inside Makefile
2015-11-06 16:52:26 +01:00
Dietmar Maurer
6d66325676
bump version to 1.6-5
2015-11-06 16:44:49 +01:00
Wolfgang Link
9303e6fc81
improve error msg
2015-11-06 16:44:10 +01:00
Wolfgang Link
aec521ca2e
fix disk parser
2015-11-06 16:43:29 +01:00
Dietmar Maurer
938ef92d6b
bump version to 1.6-4
2015-11-06 10:29:45 +01:00
Wolfgang Link
d9e8f4ec52
repair cleanup formating for man and remove for better handling the slashes at the end of pathes.
2015-11-06 10:26:57 +01:00
Wolfgang Link
eee21241ab
cleanup
2015-11-06 09:32:42 +01:00
Wolfgang Link
fac83537f9
decode in config name the type of config.
...
The backuped config will now include in the name of the config file the type of vm.
<vmid>.conf.<type>.rep_<name_of_job>_<timestamp>
2015-11-06 09:31:32 +01:00
Wolfgang Link
739c195a0a
save the config in an extra dir.
...
The name of the dir, where the conf will be saved. Is the same name like the last subvol from the dest path.
2015-11-06 08:26:24 +01:00
Wolfgang Link
c9cbba3d63
extend send_config with method local
...
what can be used to make local backups
2015-11-06 08:22:43 +01:00
Wolfgang Link
9e7685c240
add disk parser for LXC
2015-11-06 08:21:44 +01:00
Wolfgang Link
ce6b324074
extend send_config: now it support's container too.
2015-11-06 08:20:10 +01:00
Wolfgang Link
67badfe4d6
update list output and include vmtype
2015-11-06 08:18:39 +01:00
Wolfgang Link
8fc69e3c5d
improve vm_exist: now it check both lxc and qemu and return the type of the VM
2015-11-06 08:04:08 +01:00
Wolfgang Link
cffc38e032
improve reliability and recover chnged snapshots on source
2015-11-06 08:01:57 +01:00
Dietmar Maurer
39597858ac
bump version to 1.6-3
2015-11-03 18:03:12 +01:00
Wolfgang Link
1193273e4e
fix to many slashes in recv pat
2015-11-03 18:02:19 +01:00
Dietmar Maurer
0be13fd9a2
bump version to 1.6-2
2015-10-16 11:01:28 +02:00
Wolfgang Bumiller
271c257224
use arrays for run_cmd and argument separators
...
Using the array version of run_cmd to avoid quoting issues.
Added '--' argument separators where applicable for
correctness.
2015-10-16 11:00:21 +02:00
Wolfgang Bumiller
db2ce6d46d
parse_target/check_target: support ipv6 and hostnames
...
check_target only printed an error message without actually
exiting causing the program to abort later in the process
due to bad input - reusing parse_target now to also reduce
code.
2015-10-16 11:00:18 +02:00
Wolfgang Bumiller
dc54fce83f
run_cmd: array support
2015-10-16 11:00:15 +02:00
Wolfgang Bumiller
3df8b97dc5
parse_disks: the pool comes first in the path
2015-10-16 11:00:13 +02:00
Wolfgang Bumiller
ea3ede00fb
parse_disks: don't drop the path inside the pool
2015-10-16 11:00:11 +02:00
Wolfgang Bumiller
b52d13b356
remove now unnecessary if($disk)
2015-10-16 11:00:07 +02:00
Wolfgang Bumiller
4f865f2805
regex deduplication
2015-10-16 11:00:05 +02:00
Wolfgang Bumiller
845e36d770
replace $is_disk with an early check
2015-10-16 11:00:03 +02:00
Wolfgang Bumiller
78cd57dd19
check for 'cdrom/none' storage early
2015-10-16 11:00:01 +02:00