Commit Graph

316 Commits

Author SHA1 Message Date
Christoph Klaffl c0c3050076
added option for skipping the parent dataset in recursive replication 2018-06-19 18:21:06 +02:00
Lucas Salibian e65879d1f8 Fix --help typo 2018-06-08 11:52:52 -04:00
Christoph Klaffl 52661afb41
updated debian changelog 2018-06-05 12:45:13 +02:00
Christoph Klaffl bb654c1cf6
use utc for timestamps as default 2018-06-05 11:41:48 +02:00
Jim Salter 9d387c013f
Merge pull request #218 from phreaker0/prune-fix
skip pruning with --no-sync-snap
2018-05-01 18:45:54 -04:00
Christoph Klaffl 63979973b2
if syncoid is instructed to skip snapshot creation it shouldn't attempt to prune existing ones 2018-05-02 00:15:14 +02:00
Jim Salter 24845bd10c
Merge pull request #214 from ecoutu/master
Document compatibility with (t)csh shells
2018-04-29 16:14:34 -04:00
Eric Coutu faf825003f
Document compatibility with (t)csh shells
Also, recommend installing mbuffer on FreeBSD systems when remote user
is using bourne compatible shell.
2018-04-29 15:48:21 -04:00
Jim Salter 4ab64b27a3
Merge pull request #212 from dcrdev/master
Restructure dist packages & bump rpm spec to 1.4.18
2018-04-28 12:57:58 -04:00
dcrdev b3b69c598c Restructure dist packages & bump rpm spec to 1.4.18 2018-04-28 17:38:19 +01:00
Jim Salter 979cb8bc3d
resume/receive support in syncoid 1.4.18 2018-04-25 15:24:24 -04:00
root 72245338a8 special character handling and resumable zfs receive support in syncoid 2018-04-25 15:21:56 -04:00
root 2732392088 fix use of uninitialized value in escapeshellparam() 2018-04-25 15:18:00 -04:00
root 4ebc0abef5 fix use of uninitialized string in escapeshellparam() 2018-04-25 14:58:35 -04:00
Jim Salter 563a93bcfe
Merge pull request #197 from phreaker0/resumeable-replication
Resumable replication of interrupted zfs send/receive
2018-04-25 14:56:04 -04:00
Christoph Klaffl 944a718351
Merge branch 'master' into resumeable-replication 2018-04-25 18:03:14 +02:00
Jim Salter 956ccb18c7
Merge pull request #210 from phreaker0/special-char-fixes-#2
special char fixes #2
2018-04-25 11:37:04 -04:00
Christoph Klaffl e6eec0aca0
fix snapshot list generation and incremental sync for snapshots containing whitespaces 2018-04-25 17:15:55 +02:00
Jim Salter 2b82a14e88
Merge pull request #176 from phreaker0/special-char-fixes
special char fixes
2018-04-25 09:48:08 -04:00
Christoph Klaffl 1b5ab20b0d
use resumeable zfs send/receive as default if supported by source and target 2018-04-25 14:58:01 +02:00
danielewood ecf2a852b5
Added support for ZStandard compression.
Available in all major distros with a simple yum/apt-get/pkg.

References: 
ZSTD Compression by Allan Jude - https://www.youtube.com/watch?v=hWnWEitDPlM
Zstandard - https://facebook.github.io/zstd/
2018-04-12 17:43:08 -07:00
Janne Savikko 8dfdd1a716 syncoid: fix --version in options list of helptext
syncoid does not have verbose option. Replace verbose with version in
options list of helptext.
2018-03-15 13:50:12 +02:00
Christoph Klaffl b405b58980
let monitor-capacity parse the limits from the configuration file 2018-03-01 09:22:22 +01:00
Christoph Klaffl f961a9f447
implemented monitor-capacity flag for checking zpool capacity limits in the nagios monitoring format 2018-02-27 17:58:51 +01:00
Christoph Klaffl 01398789f6
Revert "let monitor-health check the capacity too"
This reverts commit 1f64c9c35a.
2018-02-27 17:53:32 +01:00
Christoph Klaffl 6f29bed441
Revert "allow monitor-health to optionally check zpool capacity too by providing limits along the flag"
This reverts commit 6c695f1a86.
2018-02-27 17:53:04 +01:00
Christoph Klaffl 6c695f1a86
allow monitor-health to optionally check zpool capacity too by providing limits along the flag 2018-02-26 18:16:06 +01:00
Christoph Klaffl d0f1445784
defer cache updates after snapshot pruning and do them after all pruning is done (waiting for the cache update lock if necessary) 2018-02-22 17:29:58 +01:00
Christoph Klaffl 06d029db68
remove destroyed snapshots from cache file instead of regenerating the whole thing (which can take very long on systems with many snapshots and/or datasets) 2018-02-22 16:53:30 +01:00
Christoph Klaffl 1f64c9c35a
let monitor-health check the capacity too 2018-02-20 18:16:35 +01:00
Christoph Klaffl d5f4b5abba
support resumable zfs send/receive 2018-02-13 18:47:55 +01:00
Attie Grande e902df1ef2 also made warnings quiet 2018-01-06 11:03:02 +00:00
Attie Grande 8a2a673c58 fixed loud 'NEWEST SNAPSHOT' message 2018-01-06 11:01:44 +00:00
Martin van Wingerden 742db32e68 Made two INFO prints mutable
Added a quiet check for two non-controllable INFO prints

Fixes: #182

Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
2017-12-29 20:02:01 +01:00
Christoph Klaffl 85cc99c9e6
accidentally removed helptext 2017-12-10 16:56:56 +01:00
Christoph Klaffl bb5fc81c0d
Merge branch 'master' into special-char-fixes 2017-12-10 16:55:08 +01:00
Christoph Klaffl 3027831095
escape all remaining snapshot names which could have special characters 2017-12-10 16:32:49 +01:00
Christoph Klaffl adca6230b7
missed one regular expression 2017-12-10 16:10:49 +01:00
Christoph Klaffl e260f9095f
escape filesystem names as needed to avoid interpreting special characters like whitespace and stop
interpreting metacharacters in fs names for some regular expressions, fixes #40
2017-12-10 16:05:08 +01:00
Christoph Klaffl 371f8ff318
exit with error code upon failure 2017-12-06 23:41:15 +01:00
Christoph Klaffl ceb1397ef0
Revert "exit with error code upon failure"
This reverts commit 8d4484a2d1.
2017-12-06 23:40:23 +01:00
Christoph Klaffl 53894b2855
indentation fix 2017-12-06 23:36:13 +01:00
Christoph Klaffl 8d4484a2d1
exit with error code upon failure 2017-12-06 23:24:34 +01:00
Christoph Klaffl e61ccf1c9d
added test for checking for correct DST handling behaviour 2017-12-06 20:24:54 +01:00
Christoph Klaffl c1f7cd4241
fixed snapshot suffix 2017-12-06 20:23:52 +01:00
Christoph Klaffl 9a6cdb8543
handle DST (daylight saving times) properly for hourly and daily snapshots, fixes #155 2017-12-06 20:15:29 +01:00
Christoph Klaffl 31da53140f
implemented a simple test which will take snapshots over a whole year and
checks the resulting snapshot list
2017-12-06 19:00:44 +01:00
Jason Lewis 4a3e93372c check for emtpy lockfile 2017-11-20 15:16:43 +11:00
Jim Salter f6519c0aea
Merge pull request #162 from LordAro/helptext
Helptext syncoid, take 2
2017-11-08 14:25:18 -05:00
Charles Pigott 90e6a401da Missed some compression variable renames 2017-11-08 19:01:52 +00:00