Commit Graph

136 Commits

Author SHA1 Message Date
Christoph Klaffl c8b880c5e2
implemented clone handling (try to recreate on target instead of full replication) 2018-11-21 18:01:40 +01:00
Christoph Klaffl f39ed1ec49
for remote target/source it's required to specify a user 2018-09-03 18:32:17 +02:00
Jim Salter eeedf38d57
Merge pull request #189 from attie/nosync
added ability to skip datasets... simply set syncoid:no-sync=true
2018-08-07 17:40:38 -04:00
Jim Salter 295b79ae14
Merge pull request #190 from attie/quiet
--quiet is not quiet
2018-08-07 17:37:46 -04:00
Attie Grande d0ba0bc284 handled empty syncoid:sync property - behaves like unset 2018-08-06 14:17:48 +01:00
Attie Grande f0a37310a5 implemented sync true/false/${HOSTS} filtering 2018-08-03 09:40:11 +01:00
Attie Grande c188e47a6d inverted sync/no-sync logic 2018-08-03 09:40:11 +01:00
Attie Grande b02b9a582b now obeying --quiet, and added 'INFO: ' prefix to skip message 2018-08-03 09:40:11 +01:00
Attie Grande 39d1fd38c1 added ability to skip datasets... simply set syncoid:no-sync=true 2018-08-03 09:40:11 +01:00
Attie Grande fb8edad885 compression warnings are no longer hidden by --quiet 2018-08-03 09:13:35 +01:00
Christoph Klaffl 9668567a87
continue replication on more critical errors 2018-07-30 22:53:48 +02:00
Christoph Klaffl 63eec4994c
don't die on some critical sync errors, but continue to replicate all the other datasets.
after all is done exit with an error code
2018-07-30 22:21:14 +02:00
Christoph Klaffl 7c68ef5e8f
return a non zero exit code if there was a problem replicating datasets 2018-07-29 13:16:53 +02:00
Jim Salter d1153a244f
Merge pull request #245 from phreaker0/local-source-bwlimit-fix
fix typo to make local source bwlimit work
2018-07-26 16:16:04 -04:00
Jim Salter f3996e0d99
Merge pull request #246 from phreaker0/typo
fixed typo
2018-07-26 16:15:08 -04:00
Christoph Klaffl e85c375bbe
fixed typo 2018-07-26 21:53:56 +02:00
Christoph Klaffl f5508a2403
fix typo to make local source bwlimit work 2018-07-26 21:46:50 +02:00
Piotr Paczynski 75d8174e69 Fix 'resume support' detection on FreeBSD 2018-07-18 01:21:22 +02:00
Christoph Klaffl dc0afebb30
allow extra identifier to contain all characters for snapshots names which are allowed by zfs 2018-07-07 20:06:17 +02:00
Christoph Klaffl b32d5a6833
Merge remote-tracking branch 'upstream/master' into extra-identifier 2018-07-07 20:04:40 +02:00
Christoph Klaffl 77e066b3d6
Merge branch 'master' into skip-parent 2018-06-29 08:13:12 +02:00
Jim Salter 21722c34b9
Merge pull request #208 from danielewood/patch-1
Added support for ZStandard compression.
2018-06-28 16:01:00 -04:00
Jim Salter c909f55bc4
Merge pull request #229 from UnlawfulMonad/master
Fix --help typo
2018-06-28 15:59:38 -04:00
Jim Salter 5e291b6f41
Merge pull request #238 from phreaker0/parser-fixes
correctly parse zfs column output (space can be included in the values)
2018-06-28 15:58:43 -04:00
Christoph Klaffl 1f88580199
implemented support for excluding datasets from replication with a regular expression 2018-06-28 17:45:18 +02:00
Christoph Klaffl 34b942ea45
correctly parse zfs column output (space can be included in the values) 2018-06-21 18:18:28 +02:00
Christoph Klaffl 0f8fee7637
added option for using extra identification in the snapshot name for replicating to multiple targets 2018-06-19 19:43:36 +02:00
Christoph Klaffl 70b259ac3c
typos 2018-06-19 18:24:34 +02:00
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 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
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
Christoph Klaffl 944a718351
Merge branch 'master' into resumeable-replication 2018-04-25 18:03:14 +02:00
Christoph Klaffl e6eec0aca0
fix snapshot list generation and incremental sync for snapshots containing whitespaces 2018-04-25 17:15:55 +02: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
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
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
Charles Pigott 90e6a401da Missed some compression variable renames 2017-11-08 19:01:52 +00:00
Charles Pigott 11da17fa4a Fix compress arg handling 2017-11-08 19:01:52 +00:00
Charles Pigott 21a6881c4b Unrevert syncoid 2017-11-08 19:01:52 +00:00
Christoph Klaffl dbe33170e7
removed trailing whitespace 2017-11-08 17:30:52 +01:00