Commit Graph

408 Commits

Author SHA1 Message Date
Christoph Klaffl a7b7fe8d15
let pruning script timeout so it doesn't hang sanoid 2018-10-16 11:58:25 +02:00
Christoph Klaffl a89d38b968
Merge pull request #1 from darkbasic/feature/pre-post-scripts
Add pruning hooks
2018-10-16 11:44:05 +02:00
Niccolò Belli 0a7fdcb232 Add pruning hooks 2018-10-16 11:08:10 +02:00
Christoph Klaffl fb6608bf47
implemented timeout for pre/post script execution and made sure environment is cleaned up after script failure 2018-10-16 10:48:04 +02:00
Niccolò Belli 84213216ec
Expose snapshot name through ENV variable 2018-10-16 07:55:03 +02:00
Julien Riou c6ffbf5c4c
Add pre and post snapshot scripts 2018-10-16 07:49:48 +02:00
Michael Bushey e83ec060fb INSTALL: Fix name p5-Config-Inifiles -> p5-Config-IniFiles 2018-10-14 15:10:25 -07:00
Christoph Klaffl e9a330f89a
adapt test as it works correctly know after the DST patch 2018-10-05 16:19:55 +02:00
Andrew DeMaria e7bd567acb
Do not monitor snapshots types that are set to 0.
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
2018-09-11 23:15:24 -04:00
Christoph Klaffl 807fc53afb
added all available syncoid/sanoid parameters to README 2018-09-05 22:46:14 +02:00
Christoph Klaffl 253b8b467d
parse values for recursive key like the others booleans, previously any non empty value was considered as true 2018-09-05 19:34:44 +02:00
Christoph Klaffl 4af2948382
fix uninitialized value warning in debug mode on initial run (no snapshots yet) 2018-09-05 19:18:21 +02:00
Christoph Klaffl d5f4d1c121
add lz4 compression 2018-09-05 19:01:15 +02:00
Christoph Klaffl 055f26b970
ignore unknown interval type to prevent perl warnings 2018-09-05 18:47:16 +02:00
Christoph Klaffl 2fe97f13ad
prepare for v1.4.19 release 2018-09-05 10:07:05 +02:00
Christoph Klaffl 65c7be5b1d
fix typo 2018-09-04 20:17:46 +02:00
Christoph Klaffl 03a074e5c2
show warning if a key is ignored from a template 2018-09-04 08:13:47 +02:00
Jim Salter 22160deb8e
Merge pull request #259 from phreaker0/vdev-errors
let monitor-health check vdev members for io/checksum errors
2018-09-03 15:28:23 -04:00
Jim Salter 68f174e687
Merge pull request #260 from phreaker0/fix-help
for remote target/source it's required to specify a user
2018-09-03 15:24:27 -04:00
Christoph Klaffl f39ed1ec49
for remote target/source it's required to specify a user 2018-09-03 18:32:17 +02:00
Christoph Klaffl 997487d12b
restore filemode 2018-09-03 17:46:21 +02:00
Christoph Klaffl 8de3cdce21
let monitor-health also check vdev member io/checksum errors 2018-09-03 17:45:03 +02:00
Martin Schrodt 0deaacfc06 add xz to README 2018-08-15 22:21:56 +02:00
Martin Schrodt f51bb9db7e add xz compression 2018-08-15 16:07:01 +02:00
Christoph Klaffl dc6424a013
Merge branch 'master' into frequently 2018-08-08 00:39:22 +02:00
Christoph Klaffl 16613b604d
Merge branch 'bookmarks' into force-delete 2018-08-08 00:22:21 +02:00
Christoph Klaffl 7070d81775
Merge branch 'master' into bookmarks 2018-08-08 00:21:24 +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
Jim Salter a87586c0ae
Merge pull request #252 from phreaker0/error-continue
continue recursive replication if some datasets fail
2018-08-07 17:36:09 -04:00
Jim Salter 536fe96eec
Merge pull request #249 from phreaker0/exit-with-error
return a non zero exit code if there was a problem replicating datasets
2018-08-07 17:35:15 -04:00
Attie Grande d0ba0bc284 handled empty syncoid:sync property - behaves like unset 2018-08-06 14:17:48 +01:00
Attie Grande 60b2dedc45 fixed typo 2018-08-06 14:08:58 +01:00
Attie Grande a4e490f430 updated documentation for the syncoid:sync property's new behaviour 2018-08-03 09:40:11 +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 22c137627a updated doc for syncoid:no-sync 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 020f57cb74
check for error while listing snapshots/bookmarks as this can be dangerous with force-delete 2018-07-30 09:43:03 +02:00
Christoph Klaffl 1cb1209c78
documented force-delete flag 2018-07-30 09:13:26 +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
Christoph Klaffl 8905c00335
added test for force-delete flag 2018-07-29 12:45:12 +02:00
Christoph Klaffl 089516c58e
implemented force-delete flag to let syncoid destroy target datasets without matching snapshots/bookmarks 2018-07-29 12:43:46 +02:00
Christoph Klaffl a1d9e79e70
added two tests for zfs bookmark replication 2018-07-27 22:58:42 +02:00
Christoph Klaffl 99dcf7f340
implemented support for zfs bookmarks, if no matching snapshots are found bookmarks are tried as fallback,
both stream and no-stream cases are supported
2018-07-27 22:52:36 +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