Jim Salter
d437d9f8df
Update syncoid
2016-12-28 10:58:11 -05:00
Pablo Lalloni
50f07db14f
List only filesystems when finding children
...
Fixes #58
2016-11-03 02:40:46 -03:00
Nathan Walp
7eb772fef8
add --quiet option
2016-08-16 22:36:58 -04:00
Jim Salter
d84fd9e1ab
more warning fixing, sigh
2016-08-07 15:26:32 -04:00
Jim Salter
7bd2bed91b
more uninitialized value shushing
2016-08-07 15:22:19 -04:00
Jim Salter
2876637655
fixed use of uninitialized value warnings in syncoid
2016-08-07 12:13:32 -04:00
Jim Salter
adb14d2343
changed die to warn if syncoid fails to zfs destroy a sync snapshot - no good reason to stop a sync for that
2016-08-07 11:45:46 -04:00
Jim Salter
95f1ecb159
1.4.7 reverted shebangs to Linux style, added -F to zfs receive, dyked out set readonly behavior to mitigate upstream bugs in mount/unmount
2016-06-13 11:42:17 -04:00
Jim Salter
c0f065b0f0
1.4.6c - merged @gusson's --sshport argument enhancement for syncoid
2016-05-27 19:01:51 -04:00
Jim Salter
cd19307ab4
Merge branch 'gusson-ssh_port'
...
Conflicts:
CHANGELIST
findoid
sanoid
syncoid
2016-05-27 18:58:48 -04:00
Jim Salter
dd4ef0fa53
1.4.6c merge @gusson's --sshport argument for syncoid
2016-05-27 18:57:55 -04:00
Jim Salter
6eaa303327
1.4.6b - updated cipherlist for syncoid to chacha20-poly1305@openssh.com,arcfour
2016-05-27 18:24:27 -04:00
Albin Gustavsson
5b3693357e
Added options to set ssh port.
...
ssh port can be set by passing the -sshport variable on the command line or by changing the $sshport variable.
2016-05-26 20:32:09 +02:00
Jim Salter
17759ce659
1.4.6a - mitigate ZFS on Linux bug #4473 by complaining not dying if set readonly fails.
2016-05-25 17:00:19 -04:00
Jim Salter
546bfabf6d
added ==0 or die to all system calls in sanoid and syncoid that didn't already have them
2016-05-23 18:55:42 -04:00
Jim Salter
839d65d808
1.4.5 changed shebang to '#!/usr/bin/env perl' for enhanced FreeBSD compatibility
2016-05-23 12:35:11 -04:00
Thomas M. Lapp
c87279f899
Added -sshkey arg for automated cron runs
2016-03-08 10:29:50 -05:00
Jim Salter
633c5e237d
jjlawrens' portability pull requests + configdir option for sanoid
2015-12-31 14:52:47 -05:00
Jim Salter
e19b0ab595
Merge pull request #19 from jjlawren/ps_compatibility
...
Use UNIX-style 'ps' options everywhere for compatibility
2015-12-31 14:43:43 -05:00
Jason Lawrence
48d1de5b0c
Use UNIX-style 'ps' options everywhere for compatibility
2015-12-31 11:54:05 -06:00
Jason Lawrence
921ec1b3da
Also check for 'zfs receive' alias
2015-12-31 11:03:59 -06:00
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
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
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
b4d6a6f8eb
1.0.19 - working recursive sync in syncoid!
2015-03-30 18:51:32 -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
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
bba140aac6
added --compress=gzip|lzo|none parsing to syncoid, defaults to lzo
2015-03-19 16:30:42 -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
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
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
c6a5aad2aa
whoops - updated version number and added monitor-version to syncoid as well
2014-11-24 10:20:11 -05:00
Jim Salter
33d154d04b
added version checking command to sanoid and syncoid
2014-11-18 10:18:43 -05:00
Jim Salter
280639c9cf
updated git username
2014-11-17 12:13:46 -05:00
Jim Salter
8f5dd7fe46
inserted license blurb in sanoid and syncoid
2014-11-17 10:47:20 -05:00
Jim Salter
a8b57203d0
initial commit: syncoid
2014-11-17 10:06:05 -05:00