Commit graph

235 commits

Author SHA1 Message Date
Antonio Russo
e94fb332ea Do not require user to be specified for syncoid
This brings the behavior of syncoid into line with the documentation,
which suggests that :, rather than @, is required when specifying a
remote dataset. The behavior of a TARGET or SOURCE that begins with :
is altered to allow for local dataset names with colons in them.

The name of the control socket is changed slightly.
2018-04-30 18:34:17 -04: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
Christoph Klaffl
d5f4b5abba
support resumable zfs send/receive 2018-02-13 18:47:55 +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
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
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
Jim Salter
09a879664a
Merge pull request #161 from phreaker0/cleanup
removed trailing whitespace
2017-11-08 13:47:00 -05:00
Christoph Klaffl
dbe33170e7
removed trailing whitespace 2017-11-08 17:30:52 +01:00
jimsalterjrs
368a9fe78e default to not manually specifying an SSH cipher 2017-11-08 11:02:39 -05:00
jimsalterjrs
0be8076145 revert syncoid due to compress options error in GetOpt version 2017-11-08 10:52:23 -05:00
Jim Salter
1545d6a20c
me as maintainer, zfs | zfsutils-linux deps 2017-11-08 10:12:41 -05:00
Jim Salter
03c15e42b5
Merge pull request #148 from DHowett/master
Build sanoid as a native Debian package
2017-11-08 10:10:21 -05:00
Jim Salter
008f48319b
Merge pull request #151 from stardude900/patch-2
Update INSTALL with CentOS specific stuff
2017-11-08 10:06:39 -05:00
Jim Salter
06e327e1f3
Merge pull request #131 from LordAro/helptext
Rewrite argument parser with GetOpt::Long and add helptext
2017-11-08 10:04:59 -05:00
Charles Pigott
49758fe8b0 Fix warning when cache file doesn't exist 2017-10-16 10:24:24 +01:00
Charles Pigott
c416be3eab Remember to set default compression properly 2017-10-12 15:31:12 +01:00
Charles Pigott
7756dff623 Format compression as a hash of hashes, rather than a large if block 2017-10-12 15:14:03 +01:00
Charles Pigott
dd098b806a Updated readme as appropriate 2017-10-12 14:55:17 +01:00
Charles Pigott
d09c361e42 Added newline to fix sanoid helptext formatting 2017-10-12 14:54:58 +01:00
Charles Pigott
f04c71604d Missed a couple of syncoid options 2017-10-12 14:54:36 +01:00
stardude900
2fa2e1d2e3 Update INSTALL 2017-10-04 12:11:24 -05:00
Charles Pigott
8896059fe4 Remove unnecessary (and warning-causing) prototypes 2017-10-03 14:23:29 +01:00
Charles Pigott
5487c38350 Remove semicolons from defaults file 2017-10-03 14:23:29 +01:00
Charles Pigott
871bf6ebd2 Fix undefined variable 2017-10-03 14:23:29 +01:00
Charles Pigott
8b7dee9ee8 Typo in helptext 2017-10-03 14:23:29 +01:00
Charles Pigott
ecde5acf4c An array needed a deref, and an if condition got inverted 2017-10-03 14:23:29 +01:00
Charles Pigott
5849285815 Fix sanoid default state
Fixes #134
2017-10-03 14:23:29 +01:00
Charles Pigott
f8ea8f907d Add GetOptions helptext to syncoid
Lots of changes here
Notably:
nocommandcheck is now no-command-check
sshoptions can be specified multiple times
sshcipher now defaults to whatever your ssh client wants to
compress no longer accepts "no" or "0"
2017-10-03 14:23:29 +01:00
jimsalterjrs
36980d4788 nerfed most of the warnings with if defined checks 2017-10-03 14:22:53 +01:00
Charles Pigott
ee6c1d15e4 Convert sanoid's argument parser to GetOpt::Long and add helptext 2017-10-03 14:21:44 +01:00
jimsalterjrs
34e4c248bc change die to warn when sanoid can't remove a snap 2017-09-14 09:58:03 -04:00
Dustin L. Howett
2e9ce9681a Make sanoid a native Debian package
It can be built with dpkg-buildpackage.
2017-09-13 00:51:28 -07:00
Jim Salter
d135ee0dc8 Merge pull request #137 from jasonblewis/patch-1
remove reference to syncoid --verbose
2017-08-31 16:56:22 -04:00
Jim Salter
8844739fb0 Merge pull request #141 from dcrdev/master
Update RPM Spec.

**NOTE:** RPM spec is a community feature; @jimsalterjrs is not a CentOS user and is not directly testing RPM packages.
2017-08-31 16:55:43 -04:00
dcrdev
8207d0ee86 Update rpm changelog 2017-08-31 12:23:18 +01:00