Commit Graph

76 Commits

Author SHA1 Message Date
Jim Salter 3280856d6f minor fix - add a 2>&1 to get rid of the 'Exit request sent.' noise at the end when killing the ssh master 2015-09-18 12:14:54 -04:00
Jim Salter 257794c2f1 1.4.3 - added SSH persistence - speeds up SSH overhead by 300%+ 2015-09-18 12:03:25 -04:00
Jim Salter 9ab2821276 Update README.md 2015-09-16 17:29:02 -04:00
Jim Salter 723cdb1cd3 1.4.2 - verified fix of occasional "could not delete snapshot" bug 2015-05-11 11:52:14 -04:00
Jim Salter a334fc9e15 1.4.2 - remove -r flag from zfs destroy command for pruned snapshots 2015-05-11 11:13:27 -04:00
Jim Salter 9c3bf32fa5 more robust zpool list parsing 2015-04-11 14:09:50 -04:00
Jim Salter c0f1131fa6 added findoid tool 2015-04-06 18:10:02 -04:00
Jim Salter 8a6048635a whoops - keep process_children_only from being set from blank value in defaults.conf 2015-04-02 11:24:00 -04:00
Jim Salter 470a16e480 process_children_only keeps sanoid from messing with empty parent datasets; improved docs in default conf files 2015-04-02 11:10:38 -04:00
Jim Salter aa55a4ece0 1.2.0 - added monitor-children-only parameter to sanoid.conf for cases where parent dataset is kept empty 2015-04-01 18:38:08 -04:00
Jim Salter 5bf101cc08 1.2.0 - recursion in sanoid and syncoid, error checking for unknown parameters in sanoid and syncoid 2015-04-01 18:24:53 -04:00
Jim Salter a030aa9903 Merge branch 'dev' 2015-04-01 18:03:02 -04:00
Jim Salter 2031b64a8e recursion support in sanoid, die on unknown values in sanoid.conf 2015-04-01 18:01:42 -04:00
Jim Salter 5bad8ec6a7 updated to 1.0.20, updated CHANGELIST 2015-04-01 16:39:28 -04:00
Jim Salter bd24e0a183 updated version number in sanoid 2015-04-01 16:34:22 -04:00
Jim Salter 5b1a833dd9 expanded debug output, fixed and greatly cleaned up config parsing in sanoid 2015-04-01 16:33:46 -04:00
Jim Salter e6fc2a6f46 added --readonly to sanoid to make testing a bit less hair-raising =) 2015-04-01 15:42:12 -04:00
Jim Salter 631ff410d6 hopefully updated sanoid to correctly process multiple config files, and do so a lot more cleanly than before 2015-04-01 15:39:21 -04:00
Jim Salter 270c95be69 breaking configs into normal configs and default configs, and updating sanoid to use both files 2015-04-01 15:21:25 -04:00
Jim Salter b4d6a6f8eb 1.0.19 - working recursive sync in syncoid! 2015-03-30 18:51:32 -04:00
Jim Salter 6b4cf63e44 removed silly little test file 2015-03-30 18:50:11 -04:00
Jim Salter 5c157f821c 1.0.19 - working recursive sync in syncoid! 2015-03-30 18:48:00 -04:00
Jim Salter 12a9919063 added --recursive/-r arg to novalue args list, made sure -r would set --recursive 2015-03-30 18:18:19 -04:00
Jim Salter d3832954e5 1.0.18 - syncoid: broke sync routine out of main() and into syncdataset(), so we can add recursive synchronization in 1.0.19 =) 2015-03-30 18:10:11 -04:00
Jim Salter 4592358bdb 1.0.17 - syntax checks in sanoid and syncoid, --compress=lzo|gzip|none in syncoid, use of sudo where appropriate in syncoid, improved CLI argument parsing in both sanoid and syncoid 2015-03-21 20:32:45 -04:00
Jim Salter e2230bfda7 1.0.17 - syntax checks in sanoid and syncoid, --compress=lzo|gzip|none in syncoid, use of sudo where appropriate in syncoid, improved CLI argument parsing in both sanoid and syncoid 2015-03-21 20:31:25 -04:00
Jim Salter 9a4f239799 ok NOW I think all sudo is working... fixed bug in initial send with sendsize and with sendcmd 2015-03-21 20:09:34 -04:00
Jim Salter 29f98fe5ba sudo is working in syncoid! 2015-03-21 19:58:51 -04:00
Jim Salter 63e32196d0 added sudo cmds everywhere hopefully... 2015-03-21 19:51:28 -04:00
Jim Salter 3604fcab0a added uid checking to syncoid, next up: add sudo commands as necessary when not root 2015-03-21 15:30:55 -04:00
Jim Salter 0e51dddf3c extended improved argument parsing to syncoid also 2015-03-20 17:56:39 -04:00
Jim Salter 3cd393fc23 vastly improved sanoid argument parsing, updated version to 1.0.16 2015-03-20 17:46:10 -04:00
Jim Salter 109d2ce5ca vastly improved sanoid argument parsing 2015-03-20 17:45:23 -04:00
Jim Salter 4621942a9d added [--compress=gzip|lzo|none] to syncoid CLI parsing, defaults to lzo 2015-03-19 16:32:38 -04:00
Jim Salter bba140aac6 added --compress=gzip|lzo|none parsing to syncoid, defaults to lzo 2015-03-19 16:30:42 -04:00
Jim Salter 0ccda2de15 version_1.0.15 2015-03-16 12:23:26 -04:00
Jim Salter b6b1d571f6 added CR to sanoid --monitor-health output 2015-03-16 12:22:27 -04:00
Jim Salter e54a2eb4bc reduced unnecessary depth of dataset listing in syncoid snapshot fetch routine - thanks @0xFate 2015-03-15 12:16:23 -04:00
Jim Salter a6ad424fce Merge pull request #4 from 0xFate/patch-2
further pares down output when fetching snapshot list for sync - only lists datasets one step down from parent, including snapshots of parent and child datasets of parent but NOT snapshots OF child datasets of parent
2015-03-15 12:14:10 -04:00
0xFate 3f00ec8503 didnt grab the right one 1st time
this one reduces depth of the get command to 1 so zfs get wont pull subsequent dataset snapshots.
2015-03-14 17:26:58 +01:00
Jim Salter 8f7d0169a4 Merge pull request #3 from 0xFate/patch-1
don't list snapshots outside of target dataset in source zpool - thank you 0xFate for the patch
2015-03-08 09:09:59 -04:00
0xFate 58362924de Speed-up Sync process
This is a simple change which speeds up Sync process on systems with a high amount of Snapshots. It gets only Snapshots desired for the targeted FS and reduces output and thus Parsing time of the get command in the first place, and schould greatly reduce later processes (sorting arrays, mathing snaps) due to the reduced overhead.
2015-03-08 05:03:58 +01:00
Jim Salter 2f4d8a6e5c removed LWP::Simple deps from syncoid as well 2015-03-01 19:39:13 -05:00
Jim Salter 9a029e0d3f removed monitor_version to avoid having to pull in LWP::Simple 2015-03-01 19:37:54 -05:00
Jim Salter 772c77ebf8 use lwp::simple 2015-02-27 17:11:27 -05:00
Jim Salter ebc1602402 added monitor-version back in 2015-02-27 17:08:24 -05:00
Jim Salter fb7e68e686 whoops, forgot to update $version in sanoid itself 2015-02-27 16:17:33 -05:00
Jim Salter 95d385b39b 1.0.12 updated default sanoid.conf to properly set desired time for yearly snapshots to be taken 2015-02-27 15:28:05 -05:00
Jim Salter 9b5f0fc3d3 1.0.11 - patched yearly snapshot bug, thanks @stevenolen for the bug report! 2015-02-27 15:23:17 -05:00
Jim Salter c6a5aad2aa whoops - updated version number and added monitor-version to syncoid as well 2014-11-24 10:20:11 -05:00