forked from oetiker/znapzend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
4248 lines (2820 loc) · 124 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
commit 9ff0bbd97f49c0eae9dc32159be38637cc51a4d4
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 18:22:18 2019 +0200
znapzend.t : fix the comma-separated arglist vs qw()
commit d5ff373207019e3a6533f7a4e610e55f849d7d37
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 18:20:38 2019 +0200
znapzend : fix a warning for undef var
commit 2a9523fc7c4a93847a61616f813d5df3fee2d23e
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 18:18:27 2019 +0200
autoscrub.t : missed the fix for "Variable will not stay shared"
commit 5c196d893692648bbc1110f7029af71e67571ef7
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 17:44:12 2019 +0200
znapzend.t : add more test combos to cover
commit 144af7d87c390e6dabc32a8b1d703a885c0b26ed
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 18:03:37 2019 +0200
znapzend.t : test with ZNAPZENDTEST_ZFS_SUCCEED_snapshot=1
commit a609ed0048ae793c69fac0759d6a630b4c1bcd5e
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 17:59:11 2019 +0200
znapzend.t : fix features test typo ("Lce" => "compressed")
commit 8cba74b25c3c6c9a970ddd6ca2b2bd088fcd021d
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 17:58:49 2019 +0200
znapzend.t : test autoCreation
commit 858c52a46bbb2b1d71166c27d057a1c765d5f5b8
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 17:53:30 2019 +0200
t/zfs mock : add "create" command, add ZNAPZENDTEST_ZFS_SUCCEED_$command support for cmds we do not process deeply
commit 050ee7ad3295a29de97528a7966d5d99fd7ea668
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 17:44:12 2019 +0200
znapzend.t : add more test combos to cover
commit 2888a76980273be0df898caebfe5a3078bb7fc98
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 15:07:24 2019 +0200
ZnapZend.pm : fix formatting and wording for pre-send-command reporting
commit ea7824bb33e6087c5b6d2867d2325b3ea866fdcc
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 14:49:45 2019 +0200
znapzend.t : cover more fault scenarios for cmdfail
commit 5a47caee68d5bb9d3e69b62109bfb0e4bc9f3d6f
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 14:32:39 2019 +0200
ZnapZend.pm : report the sending-error list replay really line by line
commit cea1b2121bee3e69c6114b4a0641c4700f4acb51
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 13:55:48 2019 +0200
Problem: failed send cancels cleanup, hard to debug
Solution: repeat the warnings/errors logged when flagging a send
as failed in the end, to help find the needles in the haystask.
Reuse the previously booleanish flag $sendFailed as an array of
such messages (usually one line = one sending error) @sendFailed.
Signed-off-by: Jim Klimov <[email protected]>
commit 4f3e09c19820ce321ac933fd0c92628d8782910b
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 14:35:49 2019 +0200
ZFS.pm : update a comment
commit 3906597320c8280b60014b20dc1cbc4b659ea571
Author: Jim Klimov <[email protected]>
Date: Wed Oct 23 15:31:01 2019 +0200
ZFS.pm : some fixes to getDataSetProperties()
commit 73c1f76f32855db65bc025e6dbe9ee5078ad67ed
Author: Jim Klimov <[email protected]>
Date: Wed Oct 23 15:14:15 2019 +0200
t/zfs mock : clarify in comments that this "zfs get" ignores "backup"
commit d626eca73514adab440fd19cb0f871a224f84811
Author: Jim Klimov <[email protected]>
Date: Wed Oct 23 13:54:34 2019 +0200
t/zfs mock : add find_attr_source() to actually discover proper "inherited from X" values from the table
commit 870dce20b898635381d1c1d4b7e8d31457345f4b
Author: Jim Klimov <[email protected]>
Date: Wed Oct 23 13:53:47 2019 +0200
t/zfs mock : add a subtree under a configured backup plan that has its own further config
commit 80e09b5dd9b0e9b696eb47f61bfce0df6a4442a8
Author: Jim Klimov <[email protected]>
Date: Tue Oct 22 15:05:46 2019 +0200
znapzendztatz.t znapzendzetup.t znapzend.t : unify runCommand() definition to survive expected errors
commit 21f58a8948a40a2ba5b1ac58d6c18ac972e2954e
Author: Jim Klimov <[email protected]>
Date: Tue Oct 22 13:23:22 2019 +0200
znapzendzetup.t znapzend.t : Extend for runonce+inherited+recursive flag combos
commit a99f26a129a3e3a6d5e851d2e3f233af283847c5
Author: Jim Klimov <[email protected]>
Date: Tue Oct 22 11:29:35 2019 +0200
znapzend : revise documentation of runonce+inherited+recursive, regen POD+MAN
commit ffe91501a90b484893083cdf749d5e9768c037de
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 17:10:54 2019 +0200
ZFS.pm : getDataSetProperties() : mix interaction of recurse and inherit flags
commit 03676581f1c03b8e7db09618e4dbc6be403e8219
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 17:11:51 2019 +0200
t/zfs mock: basic support for GETing attribute source (local, received, inherited from X)
commit 19044e656ca143e2037a5c5ffb7f20212d33f5ba
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 15:05:30 2019 +0200
Extend t/zfs mock and znapzend{,zetup}.t to initially test simple --inherit flag usage
commit 132b4472285aa51354ab553797484d716e180db8
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 14:41:44 2019 +0200
getDataSetProperties() : simply add inherit support (no designed complex logic)
commit 78616ad7ae40544b829ffe66e9b7ad00986fb2f2
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 14:39:57 2019 +0200
ZFS.pm : getDataSetProperties() : report if inherit was considered
commit 18f764f1a0975729a3a598e0e08ce688505aba84
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 11:28:46 2019 +0200
Introduce $inherit argument passing and reporting, and the commentary in the codebase (not the logic implem yet)
commit a3c5feb211f0d9c5c81d645240153d7760e919a6
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 10:59:00 2019 +0200
Regenerate docs for added --inherited flag
commit 36568d9c61dc71b1c6b5feb257f360b439a173e4
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 10:53:30 2019 +0200
Introduce ("on paper") the --inherited option for the tools
commit bd6e87b3fa537e2f8c6a8d5694671fc1f3a68963
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 14:44:22 2019 +0200
ZnapZend.pm : report "on backupSet $backupSet->{src}" for all zend_delay warnings
commit 062fc2c26311b57fd00e59a89017cb5cd10556a8
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 13:35:39 2019 +0200
CHANGES : update with recent commits
commit c1238cf0ad4533f51b7b55b99c015c4ff5d5232a
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 13:28:51 2019 +0200
Makefile : rearrange to have a "make clean" target able to remove *.selftest-rewritten
commit 8bb09bcc74fbdffce370855608268586323b4901
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 13:25:59 2019 +0200
Makefile : rearrange to have a "make docs" target
commit c3f57fc09f2eff9bc323d5a977682aa57f9ffd32
Author: Jim Klimov <[email protected]>
Date: Wed Oct 23 18:02:48 2019 +0200
t/znapzend*.t : rewrite the included scripts and modules to avoid "my"-scoped vars and the warning about "Variable will not stay shared" on the fly
commit e38943896f5f05d09767893cf8a38855135ea9fb
Author: Jim Klimov <[email protected]>
Date: Wed Oct 23 15:37:07 2019 +0200
Line-break single-line sub definitions in *.pm files
commit 7886da0c8b358d6c757380516359767d184b7bfe
Author: Jim Klimov <[email protected]>
Date: Wed Oct 23 15:36:31 2019 +0200
Mark the private/public methods consistently in *.pm files
commit b3b0380e2625702b2dbbb70790892dd9d8c31bec
Author: Jim Klimov <[email protected]>
Date: Thu Oct 24 14:11:57 2019 +0200
Problem [#437]: run-once should have option to bypass zend_delay time for troubleshoot purpose
Solution: do what the subject says :)
Add a `--nodelay` option (though in fact not constrained only for
runonce ATM)
Signed-off-by: Jim Klimov <[email protected]>
commit 08e046a0aa7a84c525bc4f51f4e9a59c1217b951
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 15:03:47 2019 +0200
Update znapzendztatz.pod
Fix POD headers
commit 5860cbe03c79ec2cdd4843d5e9c62338b93e283e
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 15:02:57 2019 +0200
Update doc/znapzendzetup.pod
Fix POD headers
Co-Authored-By: Tobias Oetiker <[email protected]>
commit 99bbbe2eef272abe5064199c14482ad94db6ea59
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 15:02:41 2019 +0200
Update doc/znapzend.pod
Fix POD headers
Co-Authored-By: Tobias Oetiker <[email protected]>
commit 5a51510aa6a7980f8ecf359f1e5481b27c04af26
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 14:44:28 2019 +0200
Fix trailing whitespace in self-test progs
commit 83b866856bd0424c6131d50a1426e885c2658be3
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 14:11:59 2019 +0200
ZFS.pm : getDataSetProperties() : in exception, report which dataset props could not be received (tool error)
commit f24941370af93630ab13724d1c4edd21e3394aac
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 12:50:06 2019 +0200
ZnapZend.pm : createSnapshot() : clarify comment for removing snapshots of disabled children
commit 9e0588d87430a331d6bd5c36a12d049d376c0d59
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 12:03:08 2019 +0200
Proof-read documentation in bin/ scripts and regenerate MAN/POD copies
commit d7b4f5f1e900f93b0f59d6ce66cda291b48a1677
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 11:35:51 2019 +0200
Cleanup trailing whitespaces
commit cbefa7b2609884f069bb06880d1a84d88dcb9ebd
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 11:29:39 2019 +0200
getBackupSet{Enabled}: comment that there are many args on the list passed into hidden getBackupSet()
commit cd1f358c48d2c04c67e2ea84233d757653a6db5a
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 10:57:19 2019 +0200
znapzendzetup: do not freak out if getBackupSet{Enabled}() returns "0" for errors finding stuff
commit 630dcd89f7dede910eb48429116be8fb20a6cddb
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 10:32:21 2019 +0200
Regenerate POD files for changes of the past months
commit 84518a2235998f266ff5c85bc0673364fed9d0f8
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 10:31:36 2019 +0200
ZnapZend.pm : suggest --autoCreation (if not set) if no target dataset exists
commit 7bcc9d2fec343deeaefda14fdc02967f9a18c6c5
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 10:21:45 2019 +0200
znapzend.t : test the recursive runonce mode
commit 238d6b6ca5729a0d28b3d88f0cd7757b644ab53f
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 10:20:21 2019 +0200
znapzend.t : avoid duplicate test of "--help"
commit a30f509e4522ac4eff36245da30e0f94c8ad1c7e
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 10:15:48 2019 +0200
znapzend.1 : regen manpage for runonce recursive
commit 01d7cf50f71a802dd35378b28a029554aabee8d7
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 10:13:17 2019 +0200
ZnapZend.pm : avoid errors like `Argument " " isn't numeric in numeric gt (>) at lib/ZnapZend.pm line 223`
commit 0b3975407b4e2e5670575b8e35ba96a35cf8fe4f
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 09:29:14 2019 +0200
znapzend : fix recursion for not-specified runonce dataset
commit f51c3c55918f0051fea659df079a2ddfd45f3b18
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 09:26:46 2019 +0200
ZnapZend.pm : do not freak out if getBackupSet{Enabled}() returns "0" for errors finding stuff
commit c6a8a409f40494230e77e594782a93a78148b2f4
Author: Tamás Gérczei < <[email protected]>
Date: Fri Oct 18 19:53:09 2019 +0200
added information about the Gentoo ebuild
commit c091652ef4aeb1da5bb484329f1be256a59d98bb
Author: Jim Klimov <[email protected]>
Date: Mon Oct 21 00:34:45 2019 +0200
Problem: no easy way to runonce a pool
Solution: add recurse ability to `znapzend --runonce=x -r` with same
logic as in `znapzendzetup list -r x`
Signed-off-by: Jim Klimov <[email protected]>
commit 8b20412a36edffd154feb9306c00a7ed197af8fa
Author: Jim Klimov <[email protected]>
Date: Fri Oct 18 15:36:08 2019 +0200
Config.pm : fix enabled-only case of @backupSets dereferencing
commit 28f8fca5bd9ed445d1adedd6c858107cac0f1d62
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 18:02:35 2019 +0200
t/znapzend.t : retouch daemonized tests in the end
commit 53bbce41e076f52c0d2d5f59e016776ea7828b67
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 18:01:19 2019 +0200
ZnapZend.pm refreshBackupPlans() : report which dataset we are refreshing
commit 3c2c441b0ecc275959ccc241c4f5f6d2d7c6b872
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 17:57:53 2019 +0200
znapzend : move "my opts" into main() to avoid senseless setups in self-test included re-runs
commit 758034a6b40eb5c1b601f4c97b8640c3b109340c
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 17:24:13 2019 +0200
GitIgnore dump.dmp and znapzend*.pid
commit 2e7721abcd1b36e05ab763142fdadf948629ade2
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 17:19:48 2019 +0200
t/znapzend.t : cover more erroneous codepaths
commit 185dc143ede853d9e491adcce09034d57623927a
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 16:41:50 2019 +0200
t/zfs : add support for ZNAPZENDTEST_ZFS_GET_ZEND_DELAY envvar in "get"
commit 72c80bc407676700848e3f1e371634ce72109dd0
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 16:20:27 2019 +0200
t/zfs : in "zfs get" provide a dst_key_pstcmd and dst_key_precmd for more coverage
commit f848d3a4c5ca682d6c6c4b8b8ddc5d5433731b64
Author: Jim Klimov <[email protected]>
Date: Tue Oct 15 17:21:22 2019 +0200
t/zfs : extend the refactor
commit 9f86955a6b632f2918ae0a71cae61af54ea02ec7
Author: Jim Klimov <[email protected]>
Date: Tue Oct 15 07:30:28 2019 +0200
t/zfs : refactor print_zfs_get() out of the code loop to reuse it
commit 430ff31554a8a799c39e79d3badb083f5b444491
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 20:23:25 2019 +0200
t/zfs mockup: update for getDataSetProperties() recursion feature
commit 5c8518f30bd03553948013c833748594a5987c0e
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 16:37:44 2019 +0200
t/znapzend.t : test the codepath for zend-delay
commit 18f9065a32408d05627b3c5ceb9ae99ce29c9564
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 16:21:26 2019 +0200
t/zfs : provide a "ZNAPZENDTEST_ZFS_FAIL_$command" envvar support for more coverage
commit 1a42e98bdbbf2a784f91ece3c03997974e374130
Author: Jim Klimov <[email protected]>
Date: Fri Oct 12 18:03:46 2018 +0200
lib/ZnapZend.pm : comment about more reasons why we do not send recursively
commit 0bdfece7eb490831eb70939b6e2f706315fabdbf
Author: Jim Klimov <[email protected]>
Date: Fri Oct 12 17:58:30 2018 +0200
lib/ZnapZend.pm : support new destroySnapshots() recursion option in sub $createSnapshot
commit 530104ccdcc8502d7074f32491daad064acbce29
Author: Jim Klimov <[email protected]>
Date: Thu Oct 11 18:17:16 2018 +0200
Support recursive destruction of dst and src snapshots before iterating into their children
commit c05012c0fcd325f6be3f4f425a24f6d26e80ebca
Author: Jim Klimov <[email protected]>
Date: Thu Oct 11 17:49:34 2018 +0200
ZnapZend.pm : for multi-destination cleanup, differentiate THIS destination failure vs. SOME destination failure (as needed for source cleanup)
commit fd66b5216f63dc7e2e106e962027509619dc1f87
Author: Jim Klimov <[email protected]>
Date: Fri Oct 18 12:33:58 2019 +0200
Update lib/ZnapZend/Config.pm
Commit formatting suggestion from PR review.
Co-Authored-By: Tobias Oetiker <[email protected]>
commit 42d7d7b0db2bbf48565eff4970ceb2e94e5e722b
Author: Jim Klimov <[email protected]>
Date: Fri Oct 18 12:32:11 2019 +0200
Update lib/ZnapZend/Config.pm
Commit formatting suggestion from PR review.
Co-Authored-By: Tobias Oetiker <[email protected]>
commit 3c019d502295597a75f02d96757057d5660c466c
Author: Jim Klimov <[email protected]>
Date: Fri Oct 18 12:31:58 2019 +0200
Update lib/ZnapZend/ZFS.pm
Commit formatting suggestion from PR review.
Co-Authored-By: Tobias Oetiker <[email protected]>
commit 6d4f759ca06977c553d0fe993f4b17e462ba9e7a
Author: Jim Klimov <[email protected]>
Date: Fri Oct 18 12:30:56 2019 +0200
Update lib/ZnapZend/Config.pm
Commit formatting suggestion from PR review.
Co-Authored-By: Tobias Oetiker <[email protected]>
commit 1154bc279c0fdc586bf7cd15e15b187a0cdffaed
Author: Phlogi <[email protected]>
Date: Fri Oct 18 11:15:47 2019 +0200
Remove perl modules to compile on debian buster (#429)
commit c76a7ffb252da3d9cdad181e1aa6ebad723e69f0
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 19:29:37 2019 +0200
Add mock pfexec and sudo
commit 8abe6c79507fe25381f554caab2c3fbd59881999
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 19:25:49 2019 +0200
znapzendzetup.t : fix expected error code
commit 1be74495f115e6fd86eea9a663a560cf4f8b83df
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 18:58:00 2019 +0200
znapzendzetup.t : cover some more codepaths
commit 1c43880009173e115588062df373e1389f62e080
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 18:44:32 2019 +0200
znapzendzetup.t : test for "zfs list" not finding any datasets
commit e01aed0acaf55c335af57c16b9fea58423b708fa
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 18:23:08 2019 +0200
t/zfs mock : provide child datasets that have org.znapzend:enabled==off
commit 8924001d5a0e3e190e8c00651629189368232bed
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 18:21:33 2019 +0200
t/zfs mock : fix warnings for "zfs get" without dataset ARG
commit 5410fb39ff9f83aa85f73ef2dc71f1d02b6ed0e8
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 18:16:40 2019 +0200
t/zfs mock : fix for "zfs list" without dataset ARG
commit 153f009f9ee02980a536774b7e9811ffcdc6738f
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 16:37:44 2019 +0200
t/znapzend.t : test the codepath for zend-delay
commit 80ea07b0b9b72a336c4ba97f5f1cce257e7a5845
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 16:41:50 2019 +0200
t/zfs : add support for ZNAPZENDTEST_ZFS_GET_ZEND_DELAY envvar in "get"
commit 19ed3dce4630967443b9d2219705bed5f2241c9d
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 16:23:04 2019 +0200
znapzendztatz.1 : regenerated manpage
commit 6ffc3e2de3aa3cafdd3267b0734319e391ed8444
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 16:21:26 2019 +0200
t/zfs : provide a "ZNAPZENDTEST_ZFS_FAIL_$command" envvar support for more coverage
commit 4d9ed0e5ffc498ed6f5089db3a3b15b3041df142
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 16:20:27 2019 +0200
t/zfs : in "zfs get" provide a dst_key_pstcmd and dst_key_precmd for more coverage
commit 48ce535f75891a94fcddf1f6350a596fa9a7ec5a
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 15:54:36 2019 +0200
t/znapzendzetup.t : work around die() killing the test program
commit a627f1da43a2fd7b95694cec611b015388fb69fa
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 15:52:16 2019 +0200
t/znapzendzetup.t : walk codepaths for missing datasets
commit 38ebbb5117f7eb4d3aec11446005382320455cf5
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 15:50:58 2019 +0200
znapzendzetup list : rearrange like "export"
commit 62c9761294a0d5685c975d8d679c89cbc9fede72
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 15:50:32 2019 +0200
znapzendzetup export : do not dereference "->[0]" when invalid dataset is requested
commit b1fe027a9de0e679227afcb66dd8e5cd3c27762e
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 15:42:54 2019 +0200
Config.pm getBackupSet() : propagate an error ("false" aka 0) for empty results array
commit ccf5684b72c6a6edbaac08221f63e0feb359b2ad
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 15:10:06 2019 +0200
t/zfs mock : support erroring out for "known missing" datasets
commit bbbdf09597f46b601587704c9ad2606eec7d8bfd
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 15:09:00 2019 +0200
t/zfs mock : in "zfs get" actually only return the dataset with a backup plan, not all those that inherit one, when "zfs get -s local" is used
commit 0ff5f607efd11bab127662da864833e0e2b4061c
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 14:32:28 2019 +0200
t/znapzendzetup.t : add codepaths to follow
commit 72cb5fff49c3552904a2401e246a6d834248a470
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 14:24:37 2019 +0200
t/zfs mock : in "zfs get" craft suitable dstds for tank/source/* descendants
commit ce0bc510573d7b6d76ded5039b7881e373bc4c1e
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 13:53:21 2019 +0200
t/zfs mock : extend "zfs list" with recursion from given dataset
commit a468af1d2435756506f03823f0b73ec9a7a586c3
Author: Jim Klimov <[email protected]>
Date: Thu Oct 17 13:46:30 2019 +0200
t/zfs mock : print the dataset name with "list" as a full line (with EOL)
commit 79523cfd1faeb6bc510aa13c8dd46a34240d79a7
Author: Jim Klimov <[email protected]>
Date: Wed Oct 16 17:50:17 2019 +0200
t/zfs mock : return several datasets for recursive mode with "get"
commit 20a20f308cedde108e81579f51528f0cc541e55b
Author: Jim Klimov <[email protected]>
Date: Tue Oct 15 17:21:22 2019 +0200
t/zfs : extend the refactor
commit 655d1853d8937039b9507ffea034d6d4edcfa6fb
Author: Jim Klimov <[email protected]>
Date: Tue Oct 15 07:30:28 2019 +0200
t/zfs : refactor print_zfs_get() out of the code loop to reuse it
commit 5c642fcc34c680fe6ee1b249065caf4a2a1cba81
Author: Jim Klimov <[email protected]>
Date: Tue Oct 15 07:25:27 2019 +0200
ZFS.pm : reword getDataSetProperties() warning for skipped empty-string context
commit 6c78be5d5fd289e97a66087306e8dbd97f71fb55
Author: Jim Klimov <[email protected]>
Date: Tue Oct 15 07:14:16 2019 +0200
znapzendzetup.t : invoke coverage for warning on feature=sudo
commit eac76c28318b5f019bb277f33bdacb0667b67fb2
Author: Jim Klimov <[email protected]>
Date: Tue Oct 15 07:13:26 2019 +0200
znapzendzetup : rearrange CLI debug opt processing
commit aab59e65997fbb139164372b841f7d6c0672b42c
Author: Jim Klimov <[email protected]>
Date: Tue Oct 15 02:50:04 2019 +0200
Regen manpages
commit 041021d14ef525effc2b56d636e7d83f86390116
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 22:06:04 2019 +0200
getDataSetProperties() : catch empty return from listDataSets() as an error
commit 1333f8d6fcaba613d77fa7b9f002e8661aa5d0b9
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 21:33:28 2019 +0200
t/znapzendzetup.t : add coverage for new logic
commit b29152eaa5fead99160f3336eedbe991048b3fe3
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 21:28:04 2019 +0200
znapzendzetup : man text markup...
commit 085b8c7c1e36a6899280d1c2142b8a42a2cb0a36
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 21:17:29 2019 +0200
Fix t/zfs mockup for get usedbysnapshots
commit 41993da6703e998ff6b1451f4fcd1421f376b3d1
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 21:10:06 2019 +0200
Fix getDataSetProperties() for undef/empty dataSet argument
commit be9dc6ad69af31e96923b8349fff07f40ad0f509
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 20:23:25 2019 +0200
t/zfs mockup: update for getDataSetProperties() recursion feature
commit 085a465939d460d3a6f8dd726da3f19a6609d23d
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 19:50:11 2019 +0200
Regenerated CHANGES
commit 840a4dbbff26f94951bcfccc5d5cd12f09e009dc
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 19:35:53 2019 +0200
Add znapzendzetup --debug support for getDataSetProperties()
commit 3fd7133d8804a03fb258591592e20de4ca0d3fb1
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 19:32:00 2019 +0200
Problem: With many datasets, recursive listing can fail with ENOMEM
Solution: add a --features=lowmemRecurse support to first list the
datasets recursively, and then one by one inspect their attributes.
This is slower (more calls to `zfs`) but should be more reliable on
systems that are mis-dimensioned to fail otherwise.
Signed-off-by: Jim Klimov <[email protected]>
commit 77d6ef66710e96666da5abff29114a3fb0a158fc
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 18:20:33 2019 +0200
Clarify what the public getBackupSet() and getBackupSetEnabled() do in code comments
commit 1ef93ce0e4bb7bb6b40222daded628faad24a5c7
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 18:14:02 2019 +0200
Fix some typos in comments
commit 982e38921271c542a3da975e2120fa6a28f7e2ff
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 18:08:34 2019 +0200
Problem: Can't list backup plans for many datasets at once
Solution: Extend getDataSetProperties() and getBackupSet()
with support for passing a $dataSet argument as a perl array,
as well as a currently supported string, and so allow to
`znapzendzetup list (-r) ds1 ds2 ...`.
Compatible with recently added recursion.
Signed-off-by: Jim Klimov <[email protected]>
commit 88c4f241c217afbd25fdae579518197162f33c3b
Author: Jim Klimov <[email protected]>
Date: Mon Oct 14 18:05:28 2019 +0200
Problem: Can't recurse from one pool root to get its backup plans
Solution: extend getDataSetProperties() and getBackupSet()
with recursion ability, than can be optionally invoked from
`znapzendzetup list -r poolname(/dataset)`.
Try to call `zfs` as few times as possible, listing the ZFS
dataset attributes recursively (if asked to at all) starting
from the named dataset.
Signed-off-by: Jim Klimov <[email protected]>
commit 66baf324d60526ab565844e11c363e5b39cb4c19
Author: spike <[email protected]>
Date: Mon Sep 9 02:52:33 2019 +0200
Updated information about copr repository in README.md
commit 1cf0722a960798d26679f70354fe3010b9f2e2a7
Author: Tobias Oetiker <[email protected]>
Date: Tue Sep 10 17:11:16 2019 +0200
add Test::Exception module
commit c7fa2a586a492e0e34db13b3c1e61610ea683503
Author: Stefan Benter <[email protected]>
Date: Fri Feb 1 22:34:09 2019 +0100
Fixes oetiker/znapzend#402 "Code review - my $splitHostDataSet differs between Config.pm and ZFS.pm"
Config.pm now uses the same definition of $splitHostDataSet as ZFS.pm.
commit defcf6d761e2c54a828b47676bf1b2d5c6b6b196
Author: Chris Griffith <[email protected]>
Date: Tue Mar 12 07:56:49 2019 -0700
zetup: Don't expand variables in printf format
Expanding the timestamp option inside the printf format string results
in printf warnings because the % characters get interpreted as format
specifiers.
Fixes: #409
commit e9d65e62b05cf8e38987d52ab2ef909f033413d8
Author: Stefan Benter <[email protected]>
Date: Fri Feb 1 21:56:23 2019 +0100
Fixes oetiker/znapzend#401 "Code review - destroySnapshots - check that $dataSet is a snapshot before destroying it"
ZFS.pm destroySnapshots now invokes splitDataSetSnapshot before destroying a snapshot (new: now also in oracle mode). Therefore we are verifying, that we are actually only destorying a snapshot and not the whole file system.
commit 69b7a71b572f1bdb477d90710db52e4bab847904
Author: spike77453 <[email protected]>
Date: Sun Nov 18 12:55:45 2018 +0100
Added copr repository to README.md
commit 1822143aa576782d2d621c7b949e0cad7d32b9e5
Author: Malcolm Scott <[email protected]>
Date: Sun Nov 4 15:15:37 2018 +0000
Mojo::Log::is_level needs Mojolicious 6.47
commit 7e2b540fb0a5b99c9bace76bebb1834b5db9bbdb
Author: Malcolm Scott <[email protected]>
Date: Sun Nov 4 15:08:56 2018 +0000
Honour --loglevel when using syslog
commit b9e1bcda1fca92ce5dabf8c2ea17069da2da3d45
Author: Malcolm Scott <[email protected]>
Date: Sun Nov 4 15:42:22 2018 +0000
Don't use deprecated Mojo::Util::slurp
commit 4539a0ac7bd7293690da5cc4ff1ededad57fe3aa
Author: Felix Rubio <[email protected]>
Date: Thu Oct 11 21:07:59 2018 +0200
Enabling a pre-check for datasets with only the 'enabled' property set, which is a legitimate situation
commit c319917faac0cea712f7deaab23a9d42623b654b
Author: Felix Rubio <[email protected]>
Date: Sat Oct 6 22:35:06 2018 +0200
Added logging support to Config module. When a property does not exist, log it and continue
commit 4ccbe714186ac1fbc72a81e0548e6178279b8c76
Author: flixman <[email protected]>
Date: Mon Oct 1 17:59:16 2018 +0000
Update ZnapZend.pm
Dummy change to force travis to check the code again.
commit 56eb2f79650eae4b5c4c967842d4756c26b6ee80
Author: flixman <[email protected]>
Date: Wed Sep 26 18:51:15 2018 +0000
Update ZnapZend.pm
commit c45ec2c78228dca183169fab07047901502a4bfc
Author: flixman <[email protected]>
Date: Sun Sep 23 15:56:13 2018 +0000
Addressing issue #154
As the sending of the ZFS streams is per stream, we can disable children ZFS from being snapshot/sent by setting the property "org.znapzend:enabled" to "off" on them. For the dataset being processed, in case the recursive flag is set, its children will be checked and their recently created snapshots removed.
commit 1d8a0960eaa72b75d4f7332986f4c6171a33d15c
Author: Jim Klimov <[email protected]>
Date: Mon Sep 24 13:07:17 2018 +0200
Updated CHANGES
commit 9a7885b9beb2256465f89953e486ed8f5c7ce994
Author: Jim Klimov <[email protected]>
Date: Mon Sep 24 13:06:47 2018 +0200
Makefile.in : regenerated updated EXTRA_DIST list
commit 755a0dae17efc79226dfec9540bb408eaab21e5d
Author: Jim Klimov <[email protected]>
Date: Mon Sep 24 13:02:30 2018 +0200
Further fix for service integrations (fix evaluated vars other than PREFIX)
commit 55461fcf93294fd62ae920ad5e5cd0bd2b224922
Author: sylvain <[email protected]>
Date: Wed Sep 19 15:24:25 2018 +0200
added --setup option
commit 4209a5e4ec381b86af1350222a7fe5efaa1e2012
Author: Shaun Maher <[email protected]>
Date: Tue Aug 14 18:38:48 2018 +1000
Minor fix to supress an error message when doing 'znapzendzetup list' if a property is greater than 16 characters long (#374)
commit 24198cb439dc17aa54d4222093d4a31ea2adc621
Author: flixman <[email protected]>
Date: Mon Jul 16 14:08:06 2018 +0000
Adding note about ZFS permissions for unprivileged users (#373)
* Update znapzendzetup
* Update README.md
commit 9a65a4836517341c89715ea9d7fed9353216530d
Author: Tobias Oetiker <[email protected]>
Date: Fri Dec 14 10:16:26 2018 +0100
fix issue #400 - negative repeat count error
commit c604a86857430258c2b8479c356437c0f61a4dc6
Author: Tobias Oetiker <[email protected]>
Date: Wed Jun 27 09:09:06 2018 +0200
update list of files included in dist
commit 5ec68eede2c9e697cdfaafc9528b9b016fa4b212
Author: Tobias Oetiker <[email protected]>
Date: Tue Jun 19 17:27:34 2018 +0200
release 0.19.0
commit 972c74daed1d09b83f88b65483f86ad46a4f4592
Author: Manuel Oetiker <[email protected]>
Date: Fri Jun 15 09:27:00 2018 +0200
increasing the buffersize (#361)
there are warnings from mbuffer:
"mbuffer: warning: high value of number of blocks(10696): increase block size for better performance"
with 256k mbuffer is happy.
commit 1a4e66aa9dab4f14e0ffb5a92fdf230f82c7dee7
Author: Randy Wilkey <[email protected]>
Date: Mon May 14 22:31:00 2018 -0700
changes for macOS Startup (#358)
These changes are proposed as a solution to issue #356 and maybe issue #322.
1. Change znapzend startup behavior to die if no zfs snap or backup sets are found.
2. Update init directory to add a launchd template and modify README.md to explain use.
3. Update main README.md to mention XCode command-line tools requirement.
commit 4b11c69e8c258d11fb51427e9dd92bd2e2e705ca
Author: Jim Klimov <[email protected]>
Date: Fri May 11 11:40:50 2018 +0200
README.md : Z-spelling
commit 188541126aee242f6e573b6a52d803b68e134af9
Author: Phil! Gold <[email protected]>
Date: Thu May 10 12:51:52 2018 -0400
System V init script.
commit f274a4afe27515c07992b4f8eab790103f7d7078
Author: Phil! Gold <[email protected]>
Date: Wed May 9 15:24:16 2018 -0400
Allow use of /etc/default/znapzend for extra znapzend parameters in init files.
commit bc68fa11036373854c7ebe04eeaf2cf97f157b0d