@@ -287,7 +287,7 @@ export const Configuration = observer(
287
287
< Box >
288
288
< Header retrievalMode = "logical" setOpen = { handleModalClick } />
289
289
< Box >
290
- < Box mb = { 2 } >
290
+ < Box >
291
291
< FormControlLabel
292
292
control = {
293
293
< Checkbox
@@ -415,7 +415,7 @@ export const Configuration = observer(
415
415
}
416
416
/>
417
417
</ Box >
418
- < Box mb = { 3 } >
418
+ < Box mb = { 1 } >
419
419
< ConfigSectionTitle tag = "retrieval" />
420
420
< Box mt = { 1 } >
421
421
< Typography className = { styles . subsection } >
@@ -472,18 +472,20 @@ export const Configuration = observer(
472
472
formik . setFieldValue ( 'dbname' , e . target . value )
473
473
}
474
474
/>
475
- < InputWithChip
476
- value = { formik . values . databases }
477
- label = "Databases"
478
- id = "databases"
479
- tooltipText = { tooltipText . databases }
480
- handleDeleteChip = { handleDeleteChip }
481
- disabled = { isConfigurationDisabled }
482
- onChange = { ( e ) =>
483
- formik . setFieldValue ( 'databases' , e . target . value )
484
- }
485
- />
486
475
< Box mt = { 2 } >
476
+ < InputWithChip
477
+ value = { formik . values . databases }
478
+ label = "Databases"
479
+ id = "databases"
480
+ tooltipText = { tooltipText . databases }
481
+ handleDeleteChip = { handleDeleteChip }
482
+ disabled = { isConfigurationDisabled }
483
+ onChange = { ( e ) =>
484
+ formik . setFieldValue ( 'databases' , e . target . value )
485
+ }
486
+ />
487
+ </ Box >
488
+ < Box mt = { 2 } mb = { 3 } >
487
489
< Button
488
490
variant = "primary"
489
491
size = "medium"
@@ -498,6 +500,51 @@ export const Configuration = observer(
498
500
) }
499
501
</ Button >
500
502
</ Box >
503
+ < InputWithTooltip
504
+ label = "pg_dump jobs"
505
+ value = { formik . values . dumpParallelJobs }
506
+ tooltipText = { tooltipText . dumpParallelJobs }
507
+ disabled = { isConfigurationDisabled }
508
+ onChange = { ( e ) =>
509
+ formik . setFieldValue ( 'dumpParallelJobs' , e . target . value )
510
+ }
511
+ />
512
+ { dleEdition !== 'community' && (
513
+ < InputWithChip
514
+ value = { formik . values . pgDumpCustomOptions }
515
+ label = "pg_dump customOptions"
516
+ id = "pgDumpCustomOptions"
517
+ tooltipText = { tooltipText . pgDumpCustomOptions }
518
+ handleDeleteChip = { handleDeleteChip }
519
+ disabled = { isConfigurationDisabled }
520
+ onChange = { ( e ) =>
521
+ formik . setFieldValue (
522
+ 'pgDumpCustomOptions' ,
523
+ e . target . value ,
524
+ )
525
+ }
526
+ />
527
+ ) }
528
+ < FormControlLabel
529
+ style = { { maxWidth : 'max-content' } }
530
+ control = {
531
+ < Checkbox
532
+ name = "dumpIgnoreErrors"
533
+ checked = { formik . values . dumpIgnoreErrors }
534
+ disabled = { isConfigurationDisabled }
535
+ onChange = { ( e ) =>
536
+ formik . setFieldValue (
537
+ 'dumpIgnoreErrors' ,
538
+ e . target . checked ,
539
+ )
540
+ }
541
+ classes = { {
542
+ root : classes . checkboxRoot ,
543
+ } }
544
+ />
545
+ }
546
+ label = { 'Ignore errors during logical data dump' }
547
+ />
501
548
{ ( connectionStatus && connectionRes ) || dbSourceError ? (
502
549
< ResponseMessage
503
550
type = { dbSourceError ? 'error' : connectionStatus }
@@ -506,40 +553,23 @@ export const Configuration = observer(
506
553
) : null }
507
554
</ Box >
508
555
</ Box >
509
- < InputWithTooltip
510
- label = "pg_dump jobs"
511
- value = { formik . values . dumpParallelJobs }
512
- tooltipText = { tooltipText . dumpParallelJobs }
513
- disabled = { isConfigurationDisabled }
514
- onChange = { ( e ) =>
515
- formik . setFieldValue ( 'dumpParallelJobs' , e . target . value )
516
- }
517
- />
518
- < InputWithTooltip
519
- label = "pg_restore jobs"
520
- value = { formik . values . restoreParallelJobs }
521
- tooltipText = { tooltipText . restoreParallelJobs }
522
- disabled = { isConfigurationDisabled }
523
- onChange = { ( e ) =>
524
- formik . setFieldValue ( 'restoreParallelJobs' , e . target . value )
525
- }
526
- />
527
- { dleEdition !== 'community' && (
528
- < >
529
- < InputWithChip
530
- value = { formik . values . pgDumpCustomOptions }
531
- label = "pg_dump customOptions"
532
- id = "pgDumpCustomOptions"
533
- tooltipText = { tooltipText . pgDumpCustomOptions }
534
- handleDeleteChip = { handleDeleteChip }
535
- disabled = { isConfigurationDisabled }
536
- onChange = { ( e ) =>
537
- formik . setFieldValue (
538
- 'pgDumpCustomOptions' ,
539
- e . target . value ,
540
- )
541
- }
542
- />
556
+ < Box >
557
+ < Box >
558
+ < Typography className = { styles . subsection } >
559
+ Subsection "retrieval.spec.logicalRestore"
560
+ </ Typography >
561
+ < span className = { classes . grayText } > Restoring options.</ span >
562
+ </ Box >
563
+ < InputWithTooltip
564
+ label = "pg_restore jobs"
565
+ value = { formik . values . restoreParallelJobs }
566
+ tooltipText = { tooltipText . restoreParallelJobs }
567
+ disabled = { isConfigurationDisabled }
568
+ onChange = { ( e ) =>
569
+ formik . setFieldValue ( 'restoreParallelJobs' , e . target . value )
570
+ }
571
+ />
572
+ { dleEdition !== 'community' && (
543
573
< InputWithChip
544
574
value = { formik . values . pgRestoreCustomOptions }
545
575
label = "pg_restore customOptions"
@@ -554,9 +584,29 @@ export const Configuration = observer(
554
584
)
555
585
}
556
586
/>
557
- </ >
558
- ) }
559
- < Box >
587
+ ) }
588
+ < FormControlLabel
589
+ style = { { maxWidth : 'max-content' } }
590
+ control = {
591
+ < Checkbox
592
+ name = "restoreIgnoreErrors"
593
+ checked = { formik . values . restoreIgnoreErrors }
594
+ disabled = { isConfigurationDisabled }
595
+ onChange = { ( e ) =>
596
+ formik . setFieldValue (
597
+ 'restoreIgnoreErrors' ,
598
+ e . target . checked ,
599
+ )
600
+ }
601
+ classes = { {
602
+ root : classes . checkboxRoot ,
603
+ } }
604
+ />
605
+ }
606
+ label = { 'Ignore errors during logical data restore' }
607
+ />
608
+ </ Box >
609
+ < Box mt = { 1 } >
560
610
< Typography className = { styles . subsection } >
561
611
Subsection "retrieval.refresh"
562
612
</ Typography >
0 commit comments