Commit Graph

917 Commits

Author SHA1 Message Date
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
Ben Wolsieffer 59a07f92b4 Add run-dir option. 2019-12-06 14:39:33 -05:00
Ben Wolsieffer a1f5e4c0c0 Add cache-dir option. 2019-12-06 14:37:07 -05:00
Dan Langille db0e83019f
remove 's in monitoring messages
fixes #461 - untested
2019-11-21 11:27:15 -05:00
Christoph Klaffl 353799ccb9
reworked argument parsing and error out if file path is not provided 2019-11-05 17:36:36 +01:00
Christoph Klaffl 838222e500
also show current file version if available 2019-11-05 17:33:43 +01:00
Christoph Klaffl b748b27a0d
handle FileNotFound errors properly 2019-11-05 17:30:43 +01:00
Christoph Klaffl 44bcd21f26
don't use hardcoded paths 2019-11-05 17:25:38 +01:00
Christoph Klaffl 0e5c2e1cff
improve dataset detection by only including mounted datasets 2019-11-05 17:19:56 +01:00
tiedotguy 9e429de59d Fix typo in recursive 2019-11-03 09:34:25 +11:00
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