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 |
Jim Salter
|
cd99c5f322
|
Merge pull request #295 from clinta/zfs_send_recv_options
Added in --sendoptions=OPTIONS and --recvoptions=OPTIONS to inject OP…
|
2019-01-22 15:04:09 -05:00 |
Jim Salter
|
252d496893
|
Merge pull request #313 from TerraTech/pr/mbuffer_size_option
syncoid: add '--mbuffer-size' option
|
2019-01-22 15:03:30 -05:00 |
Christoph Klaffl
|
e4e90659a1
|
removed debug output from excludes loop
|
2019-01-07 12:08:55 +01:00 |
WG Dev
|
f941d7f782
|
fix for #316 - CRITICAL ERROR: bookmarks couldn't be listed for <volume>
|
2019-01-06 10:46:24 +01:00 |
Matthew Swabey
|
bd4eb491d8
|
Added in --sendoptions=OPTIONS and --recvoptions=OPTIONS to inject OPTIONS enabling things like syncoid --sendoptions=-Lcep and syncoid --recvoptions="-x property"
Co-authored-by: Clint Armstrong <clint@clintarmstrong.net>
|
2018-12-23 11:13:47 -05:00 |
root
|
ca76f4268b
|
syncoid: add '--mbuffer-size' option
|
2018-12-23 09:18:49 -05:00 |
Christoph Klaffl
|
c2220145e1
|
Merge branch 'master' into reset-resume-state
|
2018-12-19 01:32:15 +01:00 |