Commit Graph

236 Commits

Author SHA1 Message Date
Christoph Klaffl 77fd555a84
fixed state reset 2020-01-16 01:26:44 +01:00
Christoph Klaffl 30fb5aabeb
implemented fallback for listing snapshots on solaris 2020-01-13 19:25:22 +01:00
Christoph Klaffl 96a48efd92
prepare v2.0.3 bugfix release 2019-10-02 16:42:38 +02:00
Christoph Klaffl b04bd2f02d
proper changelog for the last two version and packaging updates 2019-09-25 22:22:00 +02:00
Jim Salter a90eec33e3
Merge pull request #405 from hartzell/patch-1
Documentation buglet, --sshkey specifies the *key*
2019-06-14 10:11:19 -04:00
Christoph Klaffl 9791094816
some FreeBSD related fixes 2019-06-14 15:45:44 +02:00
George Hartzell cb94fa1d16
Documentation buglet, --sshkey specifies the *key*
The `--sshkey` option specifies the ssh key, *not* the ssh public key.  Empirically, it fails if you point it at a public key and works if you point it at the private part.  Make sense since it's being used as the arg to `-i` in the `ssh` command line.
2019-06-13 14:34:08 -07:00
Christoph Klaffl 56f97b5bd2
capture the stderr of zfs send command in the case of a resumed replication where the send size can't be estimated (in which case pv is not working anyway, so we can break the interactivitiy) 2019-06-06 08:09:42 +02:00
Christoph Klaffl 22fe41cb11
redirect zfs receive error to stdout and only capture stdout for parsing of error codes, this way stderr is left alone and pv can work interactively 2019-06-06 08:04:00 +02:00
Christoph Klaffl 6eb1be3ef7
handle resume states where the source snapshot was already deleted 2019-05-20 18:18:21 +02:00
Christoph Klaffl 16fceba54c
moved common used variables to top of function 2019-05-20 18:01:29 +02:00
Christoph Klaffl 1046f7f58e
use capture::tiny for teeing commands 2019-05-16 18:42:26 +02:00
Christoph Klaffl f7bd267a6b
Merge branch 'master' into reset-resume-state 2019-05-16 18:15:02 +02:00
Jim Salter e320462c69
Merge pull request #382 from phreaker0/fix-snapshot-ordering
fixed ordering of snapshots with the same creation timestamp
2019-05-15 12:41:32 -04:00
Christoph Klaffl 522bdecd53
fixed ordering of snapshots with the same creation timestamp 2019-05-15 16:47:51 +02:00
Jim Salter ea90108eab
revert -r in zfs get (not needed here) 2019-04-09 10:50:29 -04:00
Jim Salter 8d8df7e533
Add -r to zfs get -t snap for zfs 8.1 2019-04-07 19:51:32 -04:00
Christoph Klaffl a78faed88c
Merge branch 'master' into path 2019-03-31 20:52:10 +02:00
Christoph Klaffl 111d93a166
Merge branch 'master' into fix-bookmark-edge-cases 2019-03-31 15:39:56 +02:00
Jim Salter e376eadc97
Merge pull request #342 from phreaker0/create-bookmark
implemented creation of zfs bookmarks
2019-03-29 12:00:33 -04:00
Jim Salter 12198180d8
Merge pull request #352 from phreaker0/clone-fallback
use ordinary replication if clone recreation fails
2019-03-29 12:00:00 -04:00
Jim Salter 11b3af65fd
Merge pull request #334 from phreaker0/check-pool-resume
check pool capability for resumeable replication instead of checking …
2019-03-29 11:59:22 -04:00
Jim Salter fd2823926d
Merge pull request #319 from phreaker0/silence-excludes
removed debug output from excludes loop
2019-03-29 11:58:50 -04:00
Jim Salter 31e46da29b
Merge pull request #343 from phreaker0/whitelist-send-recv-options
implemented parsing of provided zfs send/recv options and whitelisting for each use case as needed
2019-03-29 11:57:13 -04:00
Jim Salter 189f9335a5
Merge pull request #335 from phreaker0/catch-some-errors
Catch some errors
2019-03-29 11:50:50 -04:00
Jim Salter 5e0617f02e
Merge pull request #348 from phreaker0/fix-unitialized-variable
fix unitialized variable
2019-03-29 11:49:28 -04:00
Jim Salter 7900e9f8f9
Merge pull request #353 from phreaker0/check-ssh
check if ssh connection works
2019-03-29 11:49:03 -04:00
Jim Salter e86ac01259
Merge pull request #360 from phreaker0/fix-initial-no-stream
initial replication without intermediate snapshots should use the cre…
2019-03-29 11:48:32 -04:00
Jim Salter 681aa615c1
clarify bandwidth limit units 2019-03-29 11:45:38 -04:00
Christoph Klaffl 736d031979
initial replication without intermediate snapshots should use the created sync snapshot 2019-03-14 17:35:58 +01:00
Klemens Ullmann-Marx e0e7b0d2ae
added bwlimit units 2019-02-28 09:09:24 +01:00
Christoph Klaffl e014fd7942
check if ssh connection works 2019-02-20 18:06:04 +01:00
Christoph Klaffl 25c5e2e242
allow new zfs send/recv hold parameter (introduced in recent master) and drop invalid raw parameter for send size estimation for resumeable send 2019-02-19 23:27:52 +01:00
Christoph Klaffl c543f9aa0c
use ordinary replication if clone recreation fails 2019-02-19 16:00:46 +01:00
Christoph Klaffl a748b41f09
if bookmark creation fails use guid bases suffix based fallback name 2019-02-04 18:38:09 +01:00
Christoph Klaffl 99b439e383
return if there is nothing to do 2019-02-04 18:24:19 +01:00
Christoph Klaffl 5812b57349
check for invalid send/receive option syntax 2019-02-04 18:19:44 +01:00
Christoph Klaffl 10b2012401
removed debug output 2019-02-04 18:08:01 +01:00
Christoph Klaffl 7d522fa590
fix unitialized variable 2019-02-04 17:56:27 +01:00
Christoph Klaffl 1053e9370e
missed sudo command for bookmark creation if source host is remote 2019-02-01 17:43:04 +01:00
Christoph Klaffl f0fec5348e
fix root pool parsing for remote hosts 2019-01-31 18:25:41 +01:00
Christoph Klaffl c5eebbe81d
implemented parsing of provided zfs send/recv options and whitelisting for each use case as needed 2019-01-31 18:14:35 +01:00
Christoph Klaffl 5107380cb3
codestyle 2019-01-31 00:47:13 +01:00
Christoph Klaffl d68d7b4afa
implemented creation of zfs bookmarks 2019-01-31 00:45:12 +01:00
Christoph Klaffl 7141eab594
fix bookmark edge case where replication was already done to the latest snapshot (+ test) 2019-01-30 23:49:38 +01:00
Christoph Klaffl 132c765e28
error out if no datasets are processed with recursive arg 2019-01-25 23:58:12 +01:00
Christoph Klaffl 85561ddcda
handle the case of mistyped dataset name nicely 2019-01-25 23:46:58 +01:00
Christoph Klaffl c12b6d716b
check pool capability for resumeable replication instead of checking for support in the zfs module 2019-01-25 23:25:22 +01:00
Christoph Klaffl 02219b0fcf
Merge branch 'master' into path 2019-01-25 16:10:47 +01:00
Christoph Klaffl 6f5e8463c2
Merge branch 'master' into silence-excludes 2019-01-25 16:09:57 +01:00