diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2016-07-23 23:05:16 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2016-07-24 16:34:02 +0200 |
commit | 1e5ed62d2fabcba21df85105b31ffe78d5976777 (patch) | |
tree | 832e1eb2c616a0f5fe94e9eca695e45d7c6bbb2c /backuper.sh | |
parent | Report time of backup (diff) | |
download | backuper-1e5ed62d2fabcba21df85105b31ffe78d5976777.tar.xz |
Fix pipeline
Diffstat (limited to 'backuper.sh')
-rw-r--r-- | backuper.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backuper.sh b/backuper.sh index 871965e..fba7c50 100644 --- a/backuper.sh +++ b/backuper.sh @@ -166,7 +166,10 @@ start_pipeline() { add_stage "pbzip2" add_stage "mbuffer -q -m 100M" add_stage "gpg -z0 -r robin.oburka@nic.cz -e" - add_stage "mbuffer -q -m 100M" + ## OK, this is strange. If store command fail, mbuffer forks itself with + ## PID that I'm not able to get (event from list of children). + ## ... and it takes 100% CPU. So, for now: Do not use mbuffer as the last one. + #add_stage "mbuffer -q -m 100M" start_store || die & PID_STORE=$! |