tiedotguy
e01dceaee3
Remove unnecessary temporary
2019-11-02 22:35:58 +11:00
Jim Salter
45d0898523
Merge pull request #441 from phreaker0/prepare-2.0.3
...
prepare v2.0.3 bugfix release
2019-11-01 22:05:58 -04:00
tiedotguy
d51c8ab2c8
Document all the new script information passed
2019-11-02 12:51:59 +11:00
tiedotguy
46a640859f
Collect and pass additional information to script execution
...
This will collect information about what snapshots are being taken in
a single batch (multiple snapshot types taken on a single dataset at
the same time) and pass it to pre/post scripts. It also passes what
what type of script (pre, post, prune), and what type of snapshot is
being taken.
2019-11-02 12:42:20 +11:00
tiedotguy
6252cbf514
Restructure to pass hashes around in take_snapshots
...
This commit makes it easier to pass structured data between the loop
which decides what to snapshot, and the loop performing the actual
snapshot.
2019-11-02 12:42:20 +11:00
Jim Salter
1f616e74cc
Merge pull request #446 from peterNordin/debian-packaging
...
Debian packaging
2019-10-23 20:35:01 -04:00
Richard Laager
55e362c951
Bump Standards-Version to 4.1.2 (no changes)
2019-10-23 21:45:41 +02:00
Richard Laager
a7662511c8
Add myself to debian/copyright
2019-10-23 21:45:41 +02:00
Richard Laager
af115dcbe2
Add debian/TODO
...
This has some notes on things that need to change before this package
can be submitted to Debian.
2019-10-23 21:45:41 +02:00
Richard Laager
cac90382e2
Use debhelper compat 10
2019-10-23 21:45:41 +02:00
Richard Laager
fd9d4bc54a
Bump Standards-Version (no changes)
2019-10-23 21:45:41 +02:00
Richard Laager
6c4477f772
Recommends: utilities for syncoid
2019-10-23 21:45:41 +02:00
Richard Laager
59e181e61d
Depend on systemd
...
For sanoid to function, it needs to be run periodically. Currently, the
package only has a systemd timer.
2019-10-23 21:45:39 +02:00
Richard Laager
bcf1967cb4
Fix the syntax in debian/copyright's Source
...
There is no need for angle brackets around URLs.
2019-10-23 21:44:37 +02:00
Richard Laager
2bbf4b50c3
Remove extraneous debian/copyright boilerplate
2019-10-23 21:44:37 +02:00
Richard Laager
c86301f4fd
Wrap README.Debian
2019-10-23 21:44:37 +02:00
Richard Laager
52912a9bb8
Use install in debian/rules
...
Using install is more ideomatic than mkdir + cp.
2019-10-23 21:44:37 +02:00
Richard Laager
676c08c9f4
Run wrap-and-sort -a
2019-10-23 21:44:26 +02:00
Richard Laager
6a3e38b643
Set a Section
2019-10-23 21:21:22 +02:00
Richard Laager
6fed3f6c1b
Add a debian/.gitignore
2019-10-23 21:21:11 +02:00
Christoph Klaffl
a1de743c3f
fix sha512 checksum for gentoo packaging
2019-10-16 09:08:17 +02:00
Christoph Klaffl
96a48efd92
prepare v2.0.3 bugfix release
2019-10-02 16:42:38 +02:00
Jim Salter
f745aa25a1
Merge pull request #406 from phreaker0/dst
...
revert to old dst handling and make it nice
2019-09-25 16:40:45 -04:00
Jim Salter
df2698840e
Merge pull request #438 from phreaker0/proper-changelog
...
proper changelog for the last two versions and packaging updates
2019-09-25 16:25:49 -04:00
Christoph Klaffl
b04bd2f02d
proper changelog for the last two version and packaging updates
2019-09-25 22:22:00 +02:00
Christoph Klaffl
e2532cb307
copy paste error
2019-09-25 18:36:57 +02:00
Christoph Klaffl
107545ce00
added test for preserving recordsizes
2019-09-25 18:34:26 +02:00
Christoph Klaffl
381560a320
documented preserve-recordsize flag
2019-09-25 18:33:55 +02:00
Christoph Klaffl
a9043b5301
implemented flag for preserving recordsize on inital sends
2019-09-25 18:24:40 +02:00
Jim Salter
045ac252c5
Merge pull request #434 from fryfrog/v2.0.2
...
Update to v2.0.2.
2019-09-20 16:56:45 -04:00
Donald Webster
056193ec04
Update to v2.0.2.
2019-09-20 13:28:59 -07:00
Christoph Klaffl
a85ad93a18
added needed verbose flag for send size estimation (at least for latest FreeBSD codebase)
2019-06-18 08:32:11 +02:00
Gabriel A. Devenyi
dee9d1817f
Add ability to configure pv
2019-06-14 11:50:34 -04:00
Jim Salter
a90eec33e3
Merge pull request #405 from hartzell/patch-1
...
Documentation buglet, --sshkey specifies the *key*
2019-06-14 10:11:19 -04:00
Jim Salter
766838eab3
Merge pull request #407 from phreaker0/freebsd-fixes
...
some FreeBSD related fixes
2019-06-14 10:10:37 -04:00
Christoph Klaffl
9791094816
some FreeBSD related fixes
2019-06-14 15:45:44 +02:00
Christoph Klaffl
82230f248c
improved dst handling to only suffix the duplicate hourly snapshot on DST change
2019-06-14 07:53:40 +02:00
George Hartzell
cb94fa1d16
Documentation buglet, --sshkey specifies the *key*
...
The `--sshkey` option specifies the ssh key, *not* the ssh public key. Empirically, it fails if you point it at a public key and works if you point it at the private part. Make sense since it's being used as the arg to `-i` in the `ssh` command line.
2019-06-13 14:34:08 -07:00
Christoph Klaffl
0356af9d81
Revert "Changed (and simplified) DST handling (see here: https://github.com/jimsalterjrs/sanoid/issues/155 )"
...
This reverts commit cf496dcf86
.
2019-06-13 14:31:05 +02:00
Jim Salter
d96f2d9c92
Merge pull request #390 from phreaker0/fix-centos-package
...
fix centos package name
2019-06-11 13:33:55 -04:00
Jim Salter
4d5feb223d
Merge pull request #398 from phreaker0/fix-interactive-output
...
Fix interactive output
2019-06-06 12:26:29 -04:00
Christoph Klaffl
dc2371775a
don't use hardcoded paths
2019-06-06 08:25:18 +02:00
Christoph Klaffl
56f97b5bd2
capture the stderr of zfs send command in the case of a resumed replication where the send size can't be estimated (in which case pv is not working anyway, so we can break the interactivitiy)
2019-06-06 08:09:42 +02:00
Christoph Klaffl
22fe41cb11
redirect zfs receive error to stdout and only capture stdout for parsing of error codes, this way stderr is left alone and pv can work interactively
2019-06-06 08:04:00 +02:00
Michael Schout
3892d73594
Capture output in getzfsvalue and handle datasets that disappeared
...
Change getzfsvalue() so that if called in array context, returns the
value and the error as a two element list. This allows the caller to
recieve the error from the zfs command.
If the dataset went away before fetching the sanoid:sync property, just
issue a warning and skip it.
2019-05-29 17:13:31 -05:00
Michael Schout
784efe2d85
Remove debug warning
2019-05-25 12:01:54 -05:00
Michael Schout
fd71e794ad
Gracefully handle error when source dataset disappeared
...
If the source dataset dissappeared before we were able to get the
sanoid:sync property, do not set an error exit code. Handle this
gracefully as this should not be considered an error.
Fixes #380
2019-05-25 12:01:54 -05:00
Christoph Klaffl
5d7ee40405
fix centos package name
2019-05-24 08:29:54 +02:00
Jim Salter
681820ceab
Merge pull request #370 from g-a-c/patch-1
...
Update INSTALL.md
2019-05-22 10:33:09 -04:00
Jim Salter
1ca9a6d0c0
Merge pull request #368 from danielewood/patch-1
...
Added line to enable sanoid-prune.service
2019-05-22 10:32:45 -04:00