forked from oetiker/znapzend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
6746 lines (4482 loc) · 210 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
0.21.1 2022-01-20 16:13:24 +0100 Tobias Oetiker <tobi@oetiker.ch>
- fixed delay redefined warning
- check if retention plans are sensible (error out on retention shorter than
interval in retention=>interval expressions)
- fix mail program call sequence #540 -- @oetiker, @gchmurka123
- make aborted recv resumable using the `resume` fature -- @aarononeal
0.21.0 2021-06-28 19:25:46 +0200 Tobias Oetiker <tobi@oetiker.ch>
* updated install instructions see README.md
* new options for znapzend
`--forbidDestRollback` forbids forcing destination dataset rollback and
removal of datasets/snapshots not present on source
`--since=x` allow to consider a non-automatic common snapshot "x" as a
starting point
`--sinceForced=x` same as --since=x but also make sure "x" exists on
destination (can cause removal of newer snapshots)
`--cleanOffline` clean up source snapshots even if a destination was offline
`--mailErrorSummaryTo=rcpt` if "send task(s) failed", mail a summary to rcpt
* new `--feature=x` flags for znapzend `sendIntermediates` `forbidDestRollback`
* an a ton of bugfixes for all sorts of edge cases
A big Thank You! to Jim Klimov @jimkilmov who contributed a lot of time
and code to this release
commit c584c34cc209b2acb490f68d7d0420ba0c982318
Author: Tobias Oetiker <tobi@oetiker.ch>
Date: Mon Feb 22 08:38:28 2021 +0100
fixed #541 better :)
commit c3ef029adb1af0ef23569d7601ca390853c2a485
Author: Tobias Oetiker <tobi@oetiker.ch>
Date: Mon Feb 22 08:36:48 2021 +0100
add mojo 9 restriction - fixes #541
commit d78782946eec2e6cf32b7ac759fdeccfcf5d2322
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Oct 20 05:57:02 2020 +0200
Problem: Hard to use znapzend dev bins in a web of symlinks
Solution: Follow up from 75857808ab5fc1030ac294c4e3634d4b5ef323c9
which added the line which is removed during "proper" installation,
but now use FindBin::RealBin instead of just ::Bin to allow developers
to shoot themselves in the foot easier by symlinking their version
in progress (or a snapshot of the development workspace) right into
their `/usr/bin/znapzend*` pathnames.
Signed-off-by: Jim Klimov <jimklimov@gmail.com>
commit c89a1bd14b3197b6c37e98e56c842a2d4c00412e
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Oct 14 18:02:46 2020 +0200
Update ZnapZend.pm
Fix #524 and follow-up to #520
commit 60f86cc6a7ef1115116849bcc884fa3f90991538
Author: GabrieleV <GabrieleV@users.noreply.github.com>
Date: Mon Oct 12 10:58:43 2020 +0200
Fix typo and addes destroy options on recv side for running as unprivileged user
Running as an unprivileged user needs the destroy permission on the remote receiving destination to allow cleaning expired snapshots.
commit cac7607a830424e2a92ce5650d4ea18f05e296d2
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 21 14:20:52 2020 +0200
README.md : clarify why bother about non-system perl
commit 7bb829a966e193ff8c753662aaed3cd7f484f8c7
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 21 13:59:12 2020 +0200
Update manpade and POD
commit 1a5ed99c61fea31e6ce68ff615f30392979099fa
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 21 13:58:36 2020 +0200
Satisfy spellchecker
commit 37f4aa0c16e34b670f15333a7a5923ac75b22122
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 21 13:57:21 2020 +0200
README.md : add suggestion about gmake on Solaris
commit 02a4da44bfd63918e354276e544e7c39b88729d0
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 21 13:56:56 2020 +0200
README.md : line-wrap and format the suggestion about perl on Solaris 10
commit fd7c5972203a1c0146d6a200544695f0f8211f4d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 21 13:53:17 2020 +0200
Update README.md
Co-authored-by: Tobias Oetiker <tobi@oetiker.ch>
commit f6f525723845ab7a050c1466d129d990a958cbfd
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 21 13:53:10 2020 +0200
Update README.md
Co-authored-by: Tobias Oetiker <tobi@oetiker.ch>
commit 5f8616e6e63825b4dd2a01300fc0274f48741fc1
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 21 00:18:53 2020 +0200
ZFS.pm : getSnapshotProperties()/getDataSetProperties() : when building "zfs get" @cmd, specify "-r" (if requested) earlier in command line
commit d1a21a4ce75fd7f8133d66b95a25f681fdd89c9b
Author: Jim Klimov <jimklimov@cos.ru>
Date: Thu Aug 20 01:55:12 2020 +0300
bootstrap.sh : abort if autoreconf fails, and check that git tool exists
commit 34fb2d3c18fc449942b753bec60447ce5b553fc5
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 20 23:51:11 2020 +0200
README.md : point to CSWperl for Solaris 10
commit 1cffc0747e78b25d97091161713277682fab9373
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 19 23:25:00 2020 +0200
Satisfy spellchecker
commit 5c05f64c339680fe97c682ea4f70794e397126ec
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 19 23:23:25 2020 +0200
ZFS.pm : getSnapshotProperties() : if doing "snapshot_recurse_parent" then append "inherited" properties (if any and if enabled) at lowest priority
commit f47ba407efaf02b3ab7b307a117d80040c22d45d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 19 22:47:35 2020 +0200
inheritLevels.pm : complete the POD sections
commit c010c498603fca8a2b50c8145fac4aac18468a2e
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 23:05:17 2020 +0200
Satisfy spellchecker
commit df23fabeffc12dc4c74e53a5a5cb3ad33aae9e4e
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 23:02:20 2020 +0200
Evict inheritLevels to dedicated module allowing to define routines
commit 6bde6c4290e47015b40c6a95b7bd7acd7f170d53
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 23:00:24 2020 +0200
ZFS.pm : getSnapshotProperties() : update comments and a newly converted logic fix
commit d9b0efd3c91be88c2e1c0482909107e199aec0e3
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 22:46:25 2020 +0200
ZFS.pm : getSnapshotProperties() : pass "-s $inhMode" args to "zfs get" only if inhmode is not empty/unconstrained
commit 37f8393c7290d1afad616c77f3a4a92f9a20de0d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 22:07:49 2020 +0200
ZnapZend.pm : sendRecvCleanup() : clarify comment and message of skipped --cleanOffline action
commit 6b6e443b8501c0faa03bcc05c87431a06528cd0d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 21:51:19 2020 +0200
ZnapZend.pm : clarify args (even if undef) to mostRecentCommonSnapshot() usecase
commit 8f1f38102ebdd8eb91327a35b488ad1b019c5278
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 21:48:40 2020 +0200
ZFS.pm : convert inheritLevels into a Class::Struct
commit db8ac736b9d8511296b8744002988bdaf4c9b67d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 20 23:40:35 2020 +0200
Update lib/ZnapZend.pm
Commit PR suggestion from @oetiker
Co-authored-by: Tobias Oetiker <tobi@oetiker.ch>
commit 2dbe32ae02c72b1858f4338f4fe69786d1a167db
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 20 23:40:17 2020 +0200
Update lib/ZnapZend.pm
Commit PR suggestion from @oetiker
Co-authored-by: Tobias Oetiker <tobi@oetiker.ch>
commit dde1c11bc190639cc7e9f9b95c6007b3fcec6c95
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 20 23:40:01 2020 +0200
Update lib/ZnapZend.pm
Commit PR suggestion from @oetiker
Co-authored-by: Tobias Oetiker <tobi@oetiker.ch>
commit 316e201ce44eed67f6d0a9cdaaa37c6ae883b422
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 20 00:33:16 2020 +0200
Satisfy spellchecker
commit 5c278c9cd7604f194e0358d013cb3c145ce48724
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 20 00:02:47 2020 +0200
ZnapZend.pm / znapzend : introduce --mailErrorSummaryTo=rcpt CLI option (issue #499)
commit def30a8b4ee1d99477584fce72eddec9a4942817
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 19 23:54:45 2020 +0200
znapzend : line-wrap and slightly rephrase help for --cleanOffline option
commit da0b2fd7b3e32878a17e8e66cd20bbce1c4c5b98
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 19 23:46:47 2020 +0200
ZnapZend.pm : sendRecvCleanup() : separate error summary (and differentiate text for cleanOffline mode) from cleaning or not the source snapshots
commit 6b94e303c2794a3765f2f03ded1bfbb399f6bf8f
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 14 14:49:18 2020 +0200
Satisfy spellchecker
commit 1a47f7ad48d4ce75cb70e4e91bf53e8a306bee1d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 14 13:55:47 2020 +0200
Update contrib/synczbe : typo fixes, comment updates...
commit 3127fc6fed40cc3316841b275508673f57bf5d2f
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 20:21:44 2020 +0200
README.md : rearrange Verification vs. Compilation and Installation sections, and the issue #500 is no longer a problem
commit 0915f14e9fc39120229957bac04e10023257c2ed
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 00:49:01 2020 +0200
ZFS.pm : hotfix "Variable %inheritLevels will not stay shared at..." - see #516
commit d4a10d0a8254c58fab63357ec4a094825c267398
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 00:32:56 2020 +0200
ZnapZend.pm : start() : log initialization steps (backup plan parsing, worker creation) and end of life if $self->debug
commit aa6ecc09e835f9e21673a2d059d3cb43dee8e622
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 00:28:49 2020 +0200
znapzend-daemonize.t : we do not explicitly "use Test::Builder" anymore now
commit fc46538f7cf007ebea969a96445eb62a511b560d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 00:27:34 2020 +0200
test.sh : "set -e" to die on failed test scripts
commit e825ec32603a5d868d3ffed581d427a5ad31edb5
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 18 00:06:28 2020 +0200
Satisfy spellchecker
commit d0e5e9eb90224bdb1091720e920871945b9b9456
Author: Jim Klimov <jimklimov@gmail.com>
Date: Mon Aug 17 23:58:24 2020 +0200
znapzend-daemonize.t : introduce forkedTest() to check expectations for both child and parent behaviors
commit c53a9aa7131bff84b75056222563ea914b37873b
Author: Jim Klimov <jimklimov@gmail.com>
Date: Mon Aug 17 23:57:33 2020 +0200
Znapzend.pm : do not lose STDOUT/STDERR of daemonized child in test mode (needed by test harness)
commit b0cf2d985d3e2da0d4905fb3fc518650444415b4
Author: Jim Klimov <jimklimov@gmail.com>
Date: Mon Aug 17 23:56:52 2020 +0200
Znapzend.pm / znapzend-daemonize.t : track spawned child PIDs explicitly (but optionally WRT other tests and production runs)
commit 511ef062fd2317dcccbb7e55ac25b6899358c21e
Author: Jim Klimov <jimklimov@gmail.com>
Date: Mon Aug 17 22:26:34 2020 +0200
znapzend-daemonize.t / znapzend : test what start() returns as result of main(), not plain "1"
commit 7303217ecc7f9c2a558ce939f0c49171c5ad4303
Author: Jim Klimov <jimklimov@gmail.com>
Date: Mon Aug 17 22:18:03 2020 +0200
t/znapzend-daemonize.t : use Test::SharedFork for better accounting (but it still only counts parent logic)
commit 0593eafae0c53b2a51f4793de27bb2cc66ef639f
Author: Jim Klimov <jimklimov@gmail.com>
Date: Mon Aug 17 21:54:21 2020 +0200
ZnapZend.pm : start() : log initialization steps (backup plan parsing, worker creation) and end of life
commit 9333da4b006e44040bd80b10d1dbfcdacf61912c
Author: Jim Klimov <jimklimov@gmail.com>
Date: Mon Aug 17 21:52:56 2020 +0200
ZnapZend.pm : daemonize()/start() : pass special return codes where we do not die() on pidfile clash and where parent PID would exit() when running in tests, and handle these codes to skip processing nonetheless where it would not happen in real life
commit 5435c04b86f868457de96c35441efbd2861a68e5
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 20:29:48 2020 +0200
README.md : markdown does not have "NOTE:" blocks like asciidoc, use blockquotes for similar visual effect
commit 3928a39865f2a0fa4a50cc0bf8e82ff36c8834d8
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 20:18:13 2020 +0200
README.md : minor rewording
commit 333a6546f1c62762e563ffca2c216ebbf5b39685
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 20:18:03 2020 +0200
README.md : try to use "NOTE:" blocks
commit 6399ada50b69eef3115e050209e8454dbfb6f68a
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 20:11:54 2020 +0200
README.md : bullet-point the instructions for prerequisite packages on different distros, code-block the installation commands
commit c86496acb5fe7b2811407e88be278571d07fbb21
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 20:10:43 2020 +0200
README.md : mention bootstrap.sh
commit 6de594791d6097ea5534961d5be944ac61eb6b26
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 15:04:27 2020 +0200
README.md : truobleshooting : suggest oracleMode to clean up hordes of snapshots that overflow command line zie otherwise (issue #308)
commit f3069067bca6f067784539ff8459f61e844773dd
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 14:17:37 2020 +0200
README.md : reference unit-tests as part of build
commit 4653597a701e484d4ddddfef0418445f2bf6f9d0
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 14:09:46 2020 +0200
README.md : update apt-get dependencies
commit 4a88bc4219421aae2dfee5d7f596c91dbf1fceba
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:53:23 2020 +0200
README.md : add a blurb on installing znapzend in OpenIndiana
commit 1b7d208be005b2f3aea406d496fb65b07a59f241
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:51:09 2020 +0200
Satisfy spellchecker
commit e6966f8a97a284c0c46b029518c47e80c7cd658b
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:49:19 2020 +0200
Satisfy spellchecker
commit ead1424db0f53b4e3e19c63dd21302cacbb6a479
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:47:33 2020 +0200
README.md : reference OpenIndiana packaging
commit 2639116fb0093ed066069ad679549442307f4ab6
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:47:21 2020 +0200
README.md : separate inline commentary text for xcode by a hashed comment
commit 698e46a0d92741850798a3c3fcc4a50906fdd053
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:38:30 2020 +0200
Satisfy spellchecker
commit e1656b541a39b19b35ddd675bbdc3afb8116b2da
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:31:48 2020 +0200
README.md : word-wrap the text with support/contrib URLs and expand a bit about "issues" protocol in particular
commit 07c8c84a239977e4dcebde84d1f44d377cc5c74a
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:30:52 2020 +0200
README.md : in configure/install/symlink code examples, and in troubleshooting, reference the master branch
commit 2cbefc814d58ccffef99cfafde87dfd473890972
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:30:31 2020 +0200
README.md : in configure/install/symlink code examples, update ZNAPVER to latest public release 0.20.0
commit f379c855eecaa9f5ca7d48b51f115e9f677a24f1
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:20:31 2020 +0200
README.md : add troubleshooting suggestions about problems with `zfs promote` of issue #503
commit 8678472c0b6b97e42c0d7e68840fcf66eb6873fe
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:19:55 2020 +0200
README.md : add troubleshooting suggestions about typical causes of sync errors
commit 0693a10e47206c8852dc100251ae0df305ce45f0
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:10:55 2020 +0200
README.md : add troubleshooting suggestions about the "ERROR: suspending cleanup" summaries at end of a run
commit a22b03f93d97da2699aa3a7a4682990348ae699b
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:09:14 2020 +0200
README.md : make the symlink code example more reliable (be sure to symlink into a directory, use relative links, overwrite existing links)
commit e8b80bf94453e4843db6f26f753e2bdaebf756ab
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:08:10 2020 +0200
README.md : make the configure/install/symlink code examples more generic with a ZNAPVER variable
commit 3548ef404b5144e6b7360c053d8883184f7b4228
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:07:09 2020 +0200
README.md : add URLs to GitHub issues and Pull Requests for znapzend central repository
commit 7cb121881f9efe16ee17f54665e5cdee11770893
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:06:25 2020 +0200
README.md : wrap long lines in docker code examples
commit 2ec9c88920e06a95047435a376f62e93aa70e446
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 13:06:02 2020 +0200
README.md : wrap long lines and reword a few things slightly
commit 359b112518e29c841606075b83968b579db61242
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 11:31:01 2020 +0200
Contrib a PoC shell script for logic addressing parts of #503
commit b05e735258adb17cf4764f2c5679fb13e5a92cb4
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 20:25:18 2020 +0200
Update generated documentation files (*.pod, man/*.1)
commit e83ff71490b85d9395a557632b862216f2cbdd96
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 16:16:49 2020 +0200
Satisfy spellchecker
commit 61c6df959bd417ad5ec525da24cd97aa954b3045
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 15:58:52 2020 +0200
Update znapzend.1 man page for --cleanOffline option
commit 2ef55bcdd58455b12637cc832dc2a9d9a54f5d7b
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 15:58:34 2020 +0200
Update znapzend.1 man page for --since=X mode
commit 892cc8f9165b22e2d68a1ad651539f9b6b6fdc73
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 15:58:11 2020 +0200
Update znapzend.1 man page for feature=sendIntermediates documented in more detail
commit d76b6d5c40fe59192d479959bc825bc99550cb5c
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 15:56:16 2020 +0200
znapzend: add feature=sendIntermediates for completeness, and document the difference in more detail
commit ca680bafe55b0018f1ef26aeca2fbc24dbf694d3
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 12 15:39:15 2020 +0200
Config.pm : checkBackupSets() : report the "BUG: Should not get here" as a zLog->error()
commit e1d43822b15004cb3dade386b2c88083db81a445
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 7 22:58:05 2020 +0200
Config.pm : checkBackupSets() : line-wrap the error message for seeing a snapshot among backupSet items
commit 9fe286125cbee7077dadb7e8702b3a077a39c53c
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 7 22:57:26 2020 +0200
Config.pm : checkBackupSets() : line-wrap a large comment block
commit 54a4361c9fda097175e0d2ac57b16a48d79c804b
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 7 22:56:55 2020 +0200
Proper fix for regression introduced by 60e7afe as mentioned in #479
commit 2c5622771ff95736f4cc56160e1a6798b0012ca1
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 7 22:52:03 2020 +0200
Revert "fix for regression introduced by 60e7afe as mentioned in #479"
This reverts commit 93a1cbc0c3334afd839791c457b3ec914e58a389 to fix 60e7afe properly.
commit d99d399b2253a8464504674f4dedd73f572a3f43
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 22:56:54 2020 +0200
Satisfy spellchecker
commit 9aee0851804506184963137c17fe3d137413df25
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 20:21:40 2020 +0200
ZFS.pm : mostRecentCommonSnapshot() : fix use of lastAndCommonSnapshots()
commit b1c89988c46323676e032127ee25bdc4b54c7097
Author: Jim Klimov <jimklimov@gmail.com>
Date: Wed Aug 5 23:12:09 2020 +0200
ZFS.pm : lastAndCommonSnapshots() : extend commented-away debug aid, and phrase more clearly the returned logical values
commit 066c90ff57b5a36142c126d018360ca961fa909d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 20:28:31 2020 +0200
ZFS.pm : lastAndCommonSnapshots() : fix snapTime => snapName as it reflects the purpose better
commit 8c554ce2204f97fe30ae493d197cbfe79a9b0577
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 20:27:43 2020 +0200
ZFS.pm : lastAndCommonSnapshots() : fix detection of correct (exact) snapName, and lack of match
commit ca93f4466c4159172923a1cefae1af8d0cca1f69
Author: Jim Klimov <jimklimov@gmail.com>
Date: Sat Aug 8 02:36:52 2020 +0200
Satisfy spellchecker
commit 7c0f6b4e63c742965d02e94212e8c3cef7b43bd6
Author: Jim Klimov <jimklimov@gmail.com>
Date: Sat Aug 8 02:34:10 2020 +0200
bin/znapzendztats : fix padding length in header properly
commit 135ddad3440464aae237cad17a5506b6ac7d8482
Author: Jim Klimov <jimklimov@gmail.com>
Date: Sat Aug 8 02:25:05 2020 +0200
bin/znapzendztats : fix padding length from going non-positive (depends on snapname pattern)
commit 7b28bb9fe18917be93ee7a7e1a87239d8324a9b8
Author: Jim Klimov <jimklimov@gmail.com>
Date: Sat Aug 8 02:22:29 2020 +0200
bin/znapzendztats : fix padding length from going negative (depends on snapname pattern)
commit 1ef34a8c356f799a4706b97226ef498203c11583
Author: Jim Klimov <jimklimov@gmail.com>
Date: Sat Aug 8 02:14:01 2020 +0200
bin/znapzendztats : add --debug
commit 578538a6d3a9db83166bbe84d1884f6ae84befa0
Author: Jim Klimov <jimklimov@gmail.com>
Date: Sat Aug 8 02:12:33 2020 +0200
bin/znapzendztats : fix absence of usable ZConfig->zLog (needed after converting from "print STDERR")
commit ced52e718e5940561338571ed8f9a2068745b15e
Author: Jim Klimov <jimklimov@gmail.com>
Date: Sat Aug 8 02:05:06 2020 +0200
bin/znapzendzetup : fix absence of usable ZConfig->zLog (needed after converting from "print STDERR")
commit a5bf67990429be28ac6a296420c8175b7ce5e7cc
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 7 23:42:22 2020 +0200
ZFS.pm : getSnapshotProperties() : amend debug message
commit 1850ad9567e9c0d2afd6007fc9543172af805d3d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 7 23:42:22 2020 +0200
ZFS.pm : fix definition of %inheritLevels
commit 0c5c2da220f7844e24a140ec6d31302a45acc4aa
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 7 13:40:00 2020 +0200
ZnapZend.pm : sendRecvCleanup() : fix FQSN matching to actually remove already considered snapshots from current child-processing phase toDestroy list
commit 84b94a57a58195c98917e83a761142124daa19f4
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 7 13:29:59 2020 +0200
ZFS.pm : extractSnapshotNames() : hide another temporary debug print
commit 0c925792d747e5dfa7e32e9a1043ebfe048598a9
Author: Jim Klimov <jimklimov@gmail.com>
Date: Fri Aug 7 13:27:39 2020 +0200
ZFS.pm : extractSnapshotNames() : use the simpler syntax to pass $array
Co-authored-by: Tobias Oetiker <tobi@oetiker.ch>
commit 46692a3d494435af5f43284920ac00be2c4e6129
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 14:58:48 2020 +0200
Make spellchecker happier
commit 66a4e4b55a54ed35ba8a124ed85920eefb37f75d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 14:49:43 2020 +0200
ZnapZend.pm : sendRecvCleanup() : be explicit that we let mostRecentCommonSnapshot() define the inheritance mode for these invocations
commit 1a925f61d1c87db845f1245da3d0857757fbcb95
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 14:47:54 2020 +0200
ZFS.pm : define %inheritLevels to move getSnapshotProperties() and mostRecentCommonSnapshot() from hardcoding magic numbers
commit 24524dce00ae47f171d5e0187b772fb2bde97d31
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 14:46:59 2020 +0200
ZFS.pm : filterPropertyNames() : fix tags in debug log messages
commit 5ebf55d506dc24313e126de83745601e874ac3e4
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 13:51:31 2020 +0200
ZnapZend.pm : fix use of hash scalars, they may be not numeric
commit 4ca854102741abee134434286eb3901929fc83f1
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 13:06:21 2020 +0200
ZnapZend.pm : sendRecvCleanup() : only bother to check extractSnapshotNames(toDestroy) when walking snapshots individually if both snapnamesRecursive and toDestroy lists are not empty
commit 73e618e3bf4bec0b6629d45556c9a73085a0205c
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 13:05:41 2020 +0200
ZnapZend.pm : sendRecvCleanup() : fix passing of array vars to Dumper()
commit 52c5b8aa2f6412956bc31aacf89e4b1972ec6078
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 13:05:13 2020 +0200
ZnapZend.pm : sendRecvCleanup() : fix passing of array vars to extractSnapshotNames()
commit d87f34dde0cbdc657177e8a0c1e16145c848494a
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 13:03:38 2020 +0200
ZFS.pm : extractSnapshotNames() : figure out array var passing, and support incoming plain strings
commit 3130e1ed75f178423ecf94d45c0fb166840339ab
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 12:30:22 2020 +0200
ZFS.pm : extractSnapshotNames() : a bit of debug prints
commit 2f50da1800eb3cb036df84ce2464c22ef12953a8
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 12:27:26 2020 +0200
ZFS.pm : extractSnapshotNames() : only process the array if it is not empty
commit 9c7d9d70dc7b5852a95ad96b6f4ac0cea914a0d4
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 12:05:55 2020 +0200
ZnapZend.pm : sendRecvCleanup() : extractSnapshotNames() for destination recursive cleanup only if @toDestroy list is not empty
commit 843d3ef59915e2bf90b1aec8a0a088d487fa0efb
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 12:05:22 2020 +0200
ZnapZend.pm : sendRecvCleanup() : log and do destination recursive cleanup only if @toDestroy list is not empty
commit 1d59491881f6fb9830178ff5fac42778bb5a9aba
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 11:57:32 2020 +0200
ZnapZend.pm : sendRecvCleanup() : use the trick with snapnamesRecursive also for destination cleanup
commit 04756ecf4888d267edbd28c198213a2465d886e9
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 11:47:11 2020 +0200
ZnapZend.pm : sendRecvCleanup() : only bother to check extractSnapshotNames(toDestroy) when walking snapshots individually if snapnamesRecursive is not empty
commit c112a0a235f1e4e48919da9946acddf301be26c5
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 11:46:06 2020 +0200
ZnapZend.pm : sendRecvCleanup() : comment why snapnamesRecursive remains a hash
commit 42f36362b67e610b40ab2beed143429f041603f6
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 11:43:18 2020 +0200
ZnapZend.pm : sendRecvCleanup() : refactor to use extractSnapshotNames()
commit 01422b2858f9380230e765ca4313b520e3e1989d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 12:07:32 2020 +0200
ZFS.pm : fix declaration of extractSnapshotNames()
commit f67f32b3c81a56f148c541773225b6ef1e0b40ef
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 11:42:27 2020 +0200
ZFS.pm : make sure extractSnapshotNames() looks to end of string, just in case
commit 0a748def1f48768ac8ab1b54abeda5ce7fb9efc0
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 11:32:32 2020 +0200
ZFS.pm : introduce extractSnapshotNames() courtesy of @oetiker
commit af449ae44b6b56df6ac7562b701bfe5fff1554b8
Author: Jim Klimov <jimklimov@gmail.com>
Date: Thu Aug 6 11:23:44 2020 +0200
Config.pm : fix indentation in attribute defaults
commit f70e6c7c26b41597288976d686cd67b39b0af0d2
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 17:22:53 2020 +0200
Satisfy spellchecker
commit cc7140ed079c555e8561dd9355e015c4153ea91d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 17:21:54 2020 +0200
Satisfy spellchecker
commit d50a1618cc4a2c1926ae953276c05324b85c8412
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 17:21:37 2020 +0200
ZFS.pm : another minor fix for debug log formatting
commit 344e34632597b94811099d8b11ff81ec572c8b51
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 17:15:30 2020 +0200
ZnapZend.pm: sendRecvCleanup(): log the amount of snapshots remaining in toDestroy lists when we are ready to apply them to source cleanup
commit d942cd67a730d989ca42edaf4bcc439ca4591689
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 17:14:54 2020 +0200
ZnapZend.pm: sendRecvCleanup(): add Dumper() logging of toDestroy lists in debug mode
commit 6955aeaefea77ebf22cb22bc5b6d44623e247493
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 17:13:42 2020 +0200
ZnapZend.pm: sendRecvCleanup(): be quieter about "not cleaning ... because needed" debug logging
commit a73db8f67e05f7d265035c3127df2b79248ea593
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 17:05:50 2020 +0200
ZnapZend.pm: sendRecvCleanup(): be quieter about "not considering whether to clean source" debug logging
commit ab49613220be67fa56ab75b0da67f42ccc6efa28
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 17:04:40 2020 +0200
ZnapZend.pm: sendRecvCleanup(): consider toDestroy child datasets in reverse order, so we do not delete snapshots with a dst_X_synced flag while someone else may rely on it
commit 695825c632d193ee9bb28b50c9aba5c36aecf4b1
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 16:54:01 2020 +0200
ZnapZend.pm: sendRecvCleanup(): do not corrupt original toDestroy array contents - mangle a copy of its entries
commit 48b8427eae5defbf248a32703d9c4d37c215790c
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 16:24:33 2020 +0200
Accept comment from PR #507 : convert `print STDERR "...\n" if debug` => `$self->zLog->debug() if debug` (keep it optional for explicit --debug CLI option) in most places
commit 7e448e8f99c2cd4468dd88ef8ba473066f05ebe1
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 16:21:46 2020 +0200
Config.pm : initialize private "zfs" with access to our zLog
commit d880a604f83fa4f2690560a4aafd207aa81fb266
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 16:20:57 2020 +0200
Config.pm ZFS.pm : make dummy zLog definition (exception thrower) more actionable with a stack trace
commit 1520199c34a1806dfe45963c56297b591187a26a
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 15:44:27 2020 +0200
ZFS.pm : filterPropertyNames(): comment about possible caveat with fast skip of propname eq all
commit 3353e7bb7df5b501149d926872544d7255a18672
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 15:43:20 2020 +0200
ZnapZend.pm : sendRecvCleanup() : do not process snapshots we already recursively decided about in parent when going to child datasets
commit 687776a4d8621eef12ba61f1a56fa5a8726d38db
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 15:29:36 2020 +0200
Accept comment from PR #507 : perl warn => $self->zLog->warn() in most places
commit 4dd7d7e39ebc908e727a10d842df6466ecf86e81
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 15:18:41 2020 +0200
ZFS.pm : filterPropertyNames() : we skip undef and "" explicitly, but have no syntactic reason to forbid "0" in array of property names on the input
commit 9d594ce8849e6b340d03bfe6ef20869cf8f6c709
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 15:12:59 2020 +0200
Accept comment from PR #507 : uses of "defined"
commit b2e7581aeaba9910c11b7b292861838e5f2698b0
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 15:04:27 2020 +0200
Accept comment from PR #507 : foreach => for
commit f98c6cd349e05447e40a93e60699bc660a46a67f
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 14:59:28 2020 +0200
Satisfy spellchecker
commit 07e5d5f5d4a987670edb9bee031e9b47dfb0c817
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 14:54:40 2020 +0200
Satisfy spellchecker
commit 1765c7941706282186b53683cd3870d017c0d7c8
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 14:52:45 2020 +0200
ZFS.pm : getSnapshotProperties() : fix markup in debug log
commit e5c396c6e9c8d39380f96513e2c6fb0521315358
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 14:52:01 2020 +0200
ZnapZend.pm : sendRecvCleanup() : do not process snapshots we already recursively decided about in parent when going to child datasets
commit 03915e6170155dfd7dcd6b14e192a5d438293de1
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 14:47:57 2020 +0200
ZFS.pm : prepare snapshotExists() skeleton for quiet mode to be used from getSnapshotProperties()
commit f93303342e6c5d14bb7eddac04ab715975512146
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 14:30:00 2020 +0200
ZFS.pm : getSnapshotProperties() : log-debug if we stopped recursion because same0named snapshot does not exist in parent dataset
commit e39695ad17088af5f36e5b0bf0371ac7699ef55f
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 13:59:05 2020 +0200
ZFS.pm : getSnapshotProperties() : check if the currently inspected snapshot got us all the specific properties we wanted
commit 79cb08ef530ba0b036d57b08565318f333945dca
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 13:57:04 2020 +0200
ZFS.pm : mostRecentCommonSnapshot() : leave a commented-away way to always check via getSnapshotProperties()
commit b84dad2655c3a6e3048e7cd229a6c68452de15bd
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 12:41:30 2020 +0200
ZFS.pm : mostRecentCommonSnapshot() : optimize a bit, predefine @dstSyncedProps - and we actually look for two properties here
commit c417185f85941e153c615cc5947c46b415a4ef3d
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 13:57:45 2020 +0200
ZFS.pm : getSnapshotProperties() : comment "recurse" not "iterate" for consistency
commit e42dfc21de93709e854b091e7887a0499c7fe4f7
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 13:58:08 2020 +0200
ZFS.pm : getSnapshotProperties() : debug dump $inherit numeric mode value
commit 90ac1019ca98fa1a5fc65deac34af1837b435638
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 12:22:49 2020 +0200
ZFS.pm : rearrange hash dereferencing in getSnapshotProperties()
commit 8880386d7913cc8f235b642ef43caa79b7780deb
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 12:22:24 2020 +0200
ZFS.pm : rearrange debug data dumping in in getSnapshotProperties()
commit 61a2786cd58b12f8f0381b45b83ab5dfe4b2317f
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 12:20:59 2020 +0200
ZFS.pm : introduce filterPropertyNames() to use in getSnapshotProperties() to get specific props from "zfs get" right away
commit 55818fd3a8b3bddd2a65538c802752d9f016edb4
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 12:16:47 2020 +0200
ZnapZend.pm : sendRecvCleanup() : log debug before "checking to clean up source..." and possibly spewing logs from search for dst_X_synced
commit 97e3793e6295b76e49c3ef2a69b447cbb9d37809
Author: Jim Klimov <jimklimov@gmail.com>
Date: Tue Aug 4 12:40:34 2020 +0200