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
Christoph Klaffl
ac16b2128e
disable monitoring of frequent snapshots
2017-11-09 17:44:04 +01:00
Christoph Klaffl
4649704046
codestyle fix and disable monitoring of weekly snapshots
2017-11-09 17:41:52 +01:00
Christoph Klaffl
00b9206829
implemented weekly period
2017-11-09 09:44:40 +01:00
Christoph Klaffl
293d83bdaa
versioning and compatibility check for default configuration file
2017-11-08 22:08:02 +01:00
Christoph Klaffl
bc2f8bd4e9
Revert "hardcoded new defaults"
...
This reverts commit c9adcdab1e .
2017-11-08 21:48:37 +01:00
Christoph Klaffl
8bd98f1800
added more documentation for frequent snapshots
2017-11-08 21:40:30 +01:00
Jim Salter
f6519c0aea
Merge pull request #162 from LordAro/helptext
...
Helptext syncoid, take 2
2017-11-08 14:25:18 -05:00
Christoph Klaffl
c9adcdab1e
hardcoded new defaults
2017-11-08 20:25:07 +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
d8613d1379
implemented frequent snapshots with configurable period
...
Fixes #75
2017-11-08 19:58:33 +01: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