Commit Graph

640 Commits

Author SHA1 Message Date
Christoph Klaffl adc99d0349
fixed minor warning 2020-02-17 17:43:23 +01:00
Christoph Klaffl 0b582f6200
group snapshot creation together so pre/post scripts are only run once per dataset and prepare for future atomic grouping feature 2020-02-12 17:48:42 +01:00
Christoph Klaffl 34d6d44fa8
Merge branch 'master' into pr447 2020-02-11 17:45:54 +01:00
Jim Salter d30e7c0140
Merge pull request #491 from phreaker0/fix-postinst
fix debian postinst in the case of non existing legacy cache file
2020-01-31 07:45:36 -05:00
Christoph Klaffl dedf35df85
fix debian postinst in the case of non existing legacy cache file 2020-01-31 09:13:18 +01:00
Jim Salter f87160d6db
Merge pull request #481 from croadfeldt/patch-1
Fixed Typo in arguments.
2020-01-24 08:46:31 -05:00
Jim Salter 9213359dbe
Merge pull request #483 from phreaker0/debian-postinst
post install script for debian package to remove old unused snapshot …
2020-01-22 16:12:15 -05:00
Christoph Klaffl d3309d311f
post install script for debian package to remove old unused snapshot cache file 2020-01-22 17:22:44 +01:00
Jim Salter fee3739110
Merge pull request #463 from lopsided98/sanoid-cache-file
Move sanoid cache and lock files to subdirectories
2020-01-22 10:50:33 -05:00
croadfeldt bb30496d19
Fixed Typo in arguments.
Removed errant A in zfs list command line arguments.
2020-01-18 01:52:12 -06:00
Jim Salter 29095052b0
Merge pull request #478 from phreaker0/remove-invalid-locks
fixed missing ;
2020-01-17 17:47:18 -05:00
Christoph Klaffl 2de006072f
fixed missing ; 2020-01-17 01:04:16 +01:00
Jim Salter e5c998c71d
Merge pull request #408 from gdevenyi/pvoptions
add ability to configure pv in syncoid
2020-01-16 13:57:10 -05:00
Jim Salter 3d236c6937
Merge pull request #474 from HavardLine/patch-1
Update INSTALL.md
2020-01-16 13:55:06 -05:00
Jim Salter 6404f5d308
Merge pull request #453 from phreaker0/show-current-version
also show current file version if available
2020-01-16 13:53:54 -05:00
Jim Salter 02c38026c8
Merge pull request #452 from phreaker0/error-checking
handle FileNotFound errors properly
2020-01-16 13:53:30 -05:00
Jim Salter d4388c3103
Merge pull request #451 from phreaker0/paths3
don't use hardcoded paths (findoid)
2020-01-16 13:52:59 -05:00
Jim Salter 03e523ff01
Merge pull request #450 from phreaker0/fix-dataset-detection
improve dataset detection by only including mounted datasets
2020-01-16 13:52:26 -05:00
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
Havard 1dc77c20ac
Update INSTALL.md
Removed invalid reference to sanoid.conf.example. Tried to make the last sentence clearer.
2019-12-31 14:36:49 +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
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 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