Commit Graph

609 Commits

Author SHA1 Message Date
Jim Salter e031976cde
Merge pull request #415 from phreaker0/send-size-adaption
added needed verbose flag for send size estimation (at least for late…
2020-01-16 13:50:57 -05:00
Jim Salter 69d6ae21d7
Merge pull request #383 from mschout/feature/ignore-missing-filesystems
Gracefully handle error when source dataset disappeared
2020-01-16 13:47:09 -05:00
Jim Salter 8dbb795525
Merge pull request #462 from dlangille/patch-1
remove 's in monitoring messages
2020-01-16 13:46:19 -05:00
Jim Salter 71c5bc062f
Merge pull request #472 from phreaker0/fix-dependencies
Revert "Depend on systemd"
2020-01-16 13:45:12 -05:00
Jim Salter c21a236f0c
Merge pull request #473 from phreaker0/remove-invalid-locks
remove invalid locks caused by race conditions or else the block the …
2020-01-16 13:44:52 -05:00
Jim Salter 9515049813
Merge pull request #476 from phreaker0/solaris-fallback
implemented fallback for listing snapshots on solaris
2020-01-16 13:43:17 -05:00
Christoph Klaffl 28ef311ba5
only print stderr output of failed listing command with --debug flag 2020-01-16 18:10:20 +01:00
Christoph Klaffl 3b18948f29
typo 2020-01-16 17:49:43 +01:00
Christoph Klaffl 77fd555a84
fixed state reset 2020-01-16 01:26:44 +01:00
Christoph Klaffl 30fb5aabeb
implemented fallback for listing snapshots on solaris 2020-01-13 19:25:22 +01:00
Christoph Klaffl d7edf8ddff
remove invalid locks caused by race conditions or else the block the critical function of snapshot taking until manual intervention 2019-12-28 02:15:28 +01:00
Christoph Klaffl 22a7445404
Revert "Depend on systemd"
The debian package ships with a systemd timer unit but can still be usefull on systems without systemd

This reverts commit 59e181e61d.
2019-12-28 01:59:05 +01:00
Dan Langille db0e83019f
remove 's in monitoring messages
fixes #461 - untested
2019-11-21 11:27:15 -05: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
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
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
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 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