Commit Graph

883 Commits

Author SHA1 Message Date
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
Gionatan Danti 679f1f3bda Reintroduced targetfsescaped 2018-05-01 09:39:35 +02:00
Gionatan Danti 793f1c782b Reintroduced escapeshellparam for remote command and updated README file 2018-05-01 09:32:18 +02:00
Gionatan Danti 670e76458c Reintroduce "no-resume", erroneously removed from previous commit 2018-04-30 22:45:05 +02:00
Gionatan Danti 2f518d3209 Update to current sanoid master and solved a (fake ?) confict in syncoid 2018-04-30 22:31:27 +02:00
Gionatan Danti f670631ca2 Added "no-clone-rollback" option to prevent clone rollback on target host 2018-04-30 21:50:17 +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
Christoph Klaffl 503471718f
Merge branch 'master' into frequently 2018-04-25 23:53:34 +02: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
Andrew Bobulsky 0f669a304a
Cleaned up Configuration section to match the rest of the document 2018-03-26 03:54:28 -04:00
Andrew Bobulsky 429da3a131
Add comprehensive installation instructions
Converts the old INSTALL file to a markdown-formatted INSTALL.md file
that contains comprehensive installation instructions for supported
operating systems, and an outline that can be used on others where
Sanoid/Syncoid ought to work.

The Installation section is complete for CentOS/RHEL, and has been
"dressed up" for FreeBSD/Ubuntu. Those ones still need to be completed.
I don't cover the topic of running Syncoid periodically or how to do it
because I don't know. It's probably out of scope for the Installation
guide anyway.

The Configuration sections is intended to walk through some common
setups for sanoid.conf. I suggest just cleaning up the existing conf
file examples and putting them into that section.
2018-03-26 03:44:00 -04: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
Gionatan Danti 3d9b3b04ba Added "force-prune" option to skip busy dataset check 2018-01-04 12:40:37 +01: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 2a3d91e446
fixed weekly snapshot interval 2017-12-13 00:44:48 +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