On Wed, Jan 06, 2016 at 05:01:44PM -0800, Sean Chittenden wrote:
>
>
>--
>Sean Chittenden
>
>
>> On Jan 6, 2016, at 15:35, John <
freebs...@potato.growveg.org> wrote:
>>
>> $ zfs send -R vms/1...@2016-01-06.2122 | pigz -9c | ssh backup@[remote_ip] \
>> pigz -dc | zfs recv -Fdvu storage/snapshots
The problem I'm getting with that compressor (and others) is that it
bails like this:
send from @ to vms/1...@2016-01-07.0648 estimated size is 32.1G
total estimated size is 32.1G
cannot receive: specified fs (storage/snapshots) does not exist
Pseudo-terminal will not be allocated because stdin is not a terminal.
TIME SENT SNAPSHOT
-bash: line 1: syntax error near unexpected token |'
[then get a load of binary garbled output and then a broken pipe error]
zfs send works fine if I don't try to compress the stream:
$ zfs send -Rv vms/1...@2016-01-07.0648 | ssh backup@[redacted] zfs recv -Fdvu storage/snapshots
send from @ to vms/1...@2016-01-07.0648 estimated size is 32.1G
total estimated size is 32.1G
TIME SENT SNAPSHOT
receiving full stream of vms/1...@2016-01-07.0648 into
storage/snapshots/1...@2016-01-07.0648
07:26:44 300K vms/1...@2016-01-07.0648
07:26:45 1.92M vms/1...@2016-01-07.0648
07:26:46 3.42M vms/1...@2016-01-07.0648
I'm guessing I'm doing something wrong with the pipes, but not sure
how to solve it...
--
John