Thomas Lamprecht
37bdf05344
send_config: small code cleanup
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-01 16:27:22 +02:00
Thomas Lamprecht
627130a216
buildsys: add dsc target
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-31 15:52:20 +02:00
Thomas Lamprecht
eb91dbe4b3
bump version to 1.7-3
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-07 12:05:03 +01:00
Thomas Lamprecht
8e9ef0caac
allow to set DEBUG over environment and load Data::Dumper conditionally
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-07 12:05:03 +01:00
Thomas Lamprecht
61ed255c3a
improve signal handler, print error
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-07 12:05:03 +01:00
Thomas Lamprecht
4fec932c7d
replace File::Copy::move with built-in rename
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-07 12:05:03 +01:00
Thomas Lamprecht
cd9247d50b
followup: pass properties without value
...
our GetOPts definition of it does not defines a value, so use it as
boolean flag like 'verbose' and either pass ther param or not.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-07 12:05:03 +01:00
Wolfgang Link
70253912d0
Fix #1381 : add flag allowing one to send zfs properties
...
Add properties flag for including the properties in the send stream.
With the flag, we do not break the current behavior and give the user
who like to sync their properties the possibility to do so.
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-07 12:04:08 +01:00
Thomas Lamprecht
942049e6ed
bump version to 1.7-2
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 15:10:43 +01:00
Thomas Lamprecht
4fe8bd742e
vm_exists: directly check if we look for local guest
...
no need to make a call to ls if we just can check directly..
also remove a (possible problematic)
> my $foo = 'bar' if $boolean;
construct
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-20 15:46:25 +01:00
Thomas Lamprecht
9039b8bf87
fix #1587 : sync: check if job state is defined
...
just because the $job hash is populated it's state key doesn't needs
to be..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-20 15:46:25 +01:00
Thomas Lamprecht
c9e2de9409
fix another case where source-user was used to connect to dest
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-17 15:35:24 +01:00
Thomas Lamprecht
d034d43881
fix a case where source-user was used to connect to dest
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-17 15:26:11 +01:00
David
f219b8fd1b
fix #1907 : cron entry duplicated on disable/enable
...
match the interval in front of the first root
Signed-off-by: David <d.limbeck@proxmox.com>
2018-09-18 10:07:57 +02:00
Thomas Lamprecht
114df87800
bump version to 1.7-1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-24 11:45:39 +02:00
Thomas Lamprecht
5dbe7f7f0c
cleanup ugly hash usage
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-24 11:45:39 +02:00
David Limbeck
eac174d718
fix #1860 added ability to specify source and destination user
...
source user and destination user can be specified with -source-user and
-dest-user, root is chosen if none is specified, -source-user is invalid
for VMs as source
requires zfs permissions on source and destination target
destination dataset has to be created already but not mounted
2018-08-24 11:45:32 +02:00
Thomas Lamprecht
e9301b73c7
actually print request command help
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-06 08:38:13 +02:00
Thomas Lamprecht
d93352e935
buildsys: convert to dpkg-buildpackage and cleanup
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-06 08:21:05 +02:00
Thomas Lamprecht
29274a3aaa
buildsys: fix upload target
2018-06-05 16:03:38 +02:00
Thomas Lamprecht
65248d828a
bum version to 1.6-16
2018-06-05 15:37:36 +02:00
Wolfgang Bumiller
ae7b5f4c60
don't check binaries for help and printpod commands
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-05-15 13:53:05 +02:00
Thomas Lamprecht
fdb4de53b7
refactor synopsis handling
...
move command synopsis help into the "known command" hash
use that to generalise parameter checking, printing help and
generating POD synopsis
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-05-15 13:33:05 +02:00
Thomas Lamprecht
956c788590
do not duplicate common docs for CLI help and manpage
...
add a hidden command which prints the POD of pve-zsync, reusing the
documentation for pve-zsync help CMD
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-05-15 13:33:05 +02:00
Wolfgang Link
c613b5f1d2
Fix: You can now use the pool as replication source.
...
In previous version you need a dataset as replication source.
2018-03-21 13:53:24 +01:00
Thomas Lamprecht
dfd3d83424
fix 'use of unitialized value' warning for help command
2018-03-09 11:46:30 +01:00
Thomas Lamprecht
ce6bc53ea7
fix indetation of file
2018-03-09 11:41:05 +01:00
Thomas Lamprecht
7d54b8ba78
fixup HEREDOC usage
2018-03-09 11:29:33 +01:00
Wolfgang Link
6bae4d8e6d
use for help HEREDOC to make it better readable.
2018-03-09 11:02:48 +01:00
Wolfgang Link
db24d113f7
add undocumented feature in help.
2018-03-09 11:02:48 +01:00
Wolfgang Bumiller
d907cfd7bb
bump version to 1.6-15
2017-07-07 09:45:06 +02:00
Wolfgang Link
57e0588db3
Fix send_config with IPv6
...
Add square brackets on IP.
2017-07-07 09:31:55 +02:00
Wolfgang Link
354f36342a
fix check for cdrom.
...
It is false positive if cache mode is set to none.
2017-03-23 11:35:11 +01:00
Wolfgang Bumiller
b415117382
bump version to 1.6-14
2017-03-17 15:42:33 +01:00
Wolfgang Bumiller
9553d0bead
clean target update
2017-03-17 15:42:33 +01:00
Wolfgang Bumiller
44408b4a3a
cleanup: minor code deduplication
2017-03-17 15:37:23 +01:00
Wolfgang Link
0cb441cbe0
Improve error handling in parse_disk.
2017-03-17 15:34:08 +01:00
Wolfgang Link
1fe362eb85
fix #1301 skip if mp has no backup flag.
2017-03-17 15:34:08 +01:00
Wolfgang Link
968cdfe85c
fix wrong quoting in qemu disk check.
2017-03-17 15:34:08 +01:00
Fabian Grünbichler
6a0d921c82
buildsys: add lintian call
2017-02-13 14:28:15 +01:00
Fabian Grünbichler
3691fb18d6
buildsys: use fakeroot for dpkg-deb
2017-02-13 14:28:06 +01:00
Fabian Grünbichler
d79cb93dd5
buildsys: job safety
2017-02-13 14:27:50 +01:00
Fabian Grünbichler
add204bf4f
buildsys: use gzip -n
2017-02-13 14:27:34 +01:00
Wolfgang Bumiller
012b781f13
bump version to 1.6-13
2017-01-17 12:55:32 +01:00
Wolfgang Link
b09c0029f1
fix cut_taget_width
2017-01-12 12:04:44 +01:00
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