@futo-org/backups-orchestrator-ui 1.11.4 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/dashboard/DashboardBackupHealth.svelte +1 -1
- package/dist/components/dashboard/DashboardCurrentUsage.svelte +1 -1
- package/dist/components/dashboard/DashboardPage.svelte +33 -15
- package/dist/components/dashboard/DashboardPage.svelte.d.ts +5 -0
- package/dist/components/dashboard/DashboardRecentBackups.svelte +13 -3
- package/dist/components/ui/StackListItem.svelte +16 -3
- package/dist/components/ui/StackListItem.svelte.d.ts +1 -0
- package/dist/fetch-client.d.ts +50 -50
- package/dist/fetch-client.js +50 -50
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/locales/en-XA.js +1 -1
- package/dist/locales/en-XA.po +173 -4
- package/dist/locales/en.js +1 -1
- package/dist/locales/en.po +174 -5
- package/dist/providers.js +5 -1
- package/dist/services/backend.service.js +3 -3
- package/dist/services/config.service.js +3 -3
- package/dist/services/filesystem.service.js +1 -1
- package/dist/services/immich.integration.service.js +4 -4
- package/dist/services/integrations.service.js +5 -5
- package/dist/services/job.service.js +4 -4
- package/dist/services/onboarding.service.js +8 -8
- package/dist/services/repository.service.js +15 -13
- package/dist/services/schedule.service.js +8 -8
- package/dist/services/session.service.js +2 -2
- package/dist/services/snapshot.service.js +8 -8
- package/dist/services/supportMode.service.js +3 -3
- package/package.json +2 -2
|
@@ -25,13 +25,25 @@
|
|
|
25
25
|
import DashboardRecentBackups from "./DashboardRecentBackups.svelte";
|
|
26
26
|
import DashboardTotalStored from "./DashboardTotalStored.svelte";
|
|
27
27
|
import Section from "../ui/Section.svelte";
|
|
28
|
+
import type { Snippet } from "svelte";
|
|
28
29
|
|
|
29
30
|
type Props = {
|
|
30
31
|
initialData?: RepositoryListResponseDto;
|
|
31
32
|
onViewBackups?: () => void;
|
|
33
|
+
showSetupLink?: boolean;
|
|
34
|
+
hideEmptySummary?: boolean;
|
|
35
|
+
intro?: Snippet;
|
|
36
|
+
outro?: Snippet;
|
|
32
37
|
};
|
|
33
38
|
|
|
34
|
-
const {
|
|
39
|
+
const {
|
|
40
|
+
initialData,
|
|
41
|
+
onViewBackups,
|
|
42
|
+
showSetupLink = true,
|
|
43
|
+
hideEmptySummary = false,
|
|
44
|
+
intro,
|
|
45
|
+
outro,
|
|
46
|
+
}: Props = $props();
|
|
35
47
|
|
|
36
48
|
const local = getProvider().api === "orchestrator";
|
|
37
49
|
|
|
@@ -48,7 +60,7 @@
|
|
|
48
60
|
<HStack class="items-center justify-between" wrap>
|
|
49
61
|
<Heading tag="h1" size="medium">{$t`Overview`}</Heading>
|
|
50
62
|
|
|
51
|
-
{#if !local}
|
|
63
|
+
{#if !local && showSetupLink}
|
|
52
64
|
<Button
|
|
53
65
|
href="https://my.immich.app/link?target=backups"
|
|
54
66
|
variant="outline"
|
|
@@ -65,21 +77,27 @@
|
|
|
65
77
|
{:else if query.isError}
|
|
66
78
|
<Alert color="danger">{getReadableErrorMessage(query.error)}</Alert>
|
|
67
79
|
{:else if query.isSuccess}
|
|
68
|
-
|
|
80
|
+
{@render intro?.()}
|
|
69
81
|
|
|
70
|
-
|
|
71
|
-
{
|
|
72
|
-
{$t`Storage & Usage`}
|
|
73
|
-
{/snippet}
|
|
82
|
+
{#if !hideEmptySummary || query.data.length > 0}
|
|
83
|
+
<DashboardBackupHealth repositories={query.data} {onViewBackups} />
|
|
74
84
|
|
|
75
|
-
<
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
<DashboardDailyBackupTime repositories={query.data} />
|
|
80
|
-
</div>
|
|
81
|
-
</Section>
|
|
85
|
+
<Section>
|
|
86
|
+
{#snippet title()}
|
|
87
|
+
{$t`Storage & Usage`}
|
|
88
|
+
{/snippet}
|
|
82
89
|
|
|
83
|
-
|
|
90
|
+
<div class="grid gap-4 sm:grid-cols-2 xl:grid-cols-4">
|
|
91
|
+
<DashboardTotalStored repositories={query.data} />
|
|
92
|
+
<DashboardCurrentUsage />
|
|
93
|
+
<DashboardAvgBackupTime repositories={query.data} />
|
|
94
|
+
<DashboardDailyBackupTime repositories={query.data} />
|
|
95
|
+
</div>
|
|
96
|
+
</Section>
|
|
97
|
+
|
|
98
|
+
<DashboardRecentBackups repositories={query.data} />
|
|
99
|
+
{/if}
|
|
100
|
+
|
|
101
|
+
{@render outro?.()}
|
|
84
102
|
{/if}
|
|
85
103
|
</Stack>
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import type { RepositoryListResponseDto } from "../../fetch-client";
|
|
2
|
+
import type { Snippet } from "svelte";
|
|
2
3
|
type Props = {
|
|
3
4
|
initialData?: RepositoryListResponseDto;
|
|
4
5
|
onViewBackups?: () => void;
|
|
6
|
+
showSetupLink?: boolean;
|
|
7
|
+
hideEmptySummary?: boolean;
|
|
8
|
+
intro?: Snippet;
|
|
9
|
+
outro?: Snippet;
|
|
5
10
|
};
|
|
6
11
|
declare const DashboardPage: import("svelte").Component<Props, {}, "">;
|
|
7
12
|
type DashboardPage = ReturnType<typeof DashboardPage>;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { LocalRepositoryDto } from "../../fetch-client";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
FormatBytes,
|
|
5
|
+
Icon,
|
|
6
|
+
modalManager,
|
|
7
|
+
type ActionItem,
|
|
8
|
+
} from "@immich/ui";
|
|
4
9
|
import {
|
|
5
10
|
mdiCloudCheckOutline,
|
|
6
11
|
mdiCloudOffOutline,
|
|
@@ -53,7 +58,7 @@
|
|
|
53
58
|
|
|
54
59
|
{#if recentAttempts.length === 0}
|
|
55
60
|
<StackListPlaceholder>
|
|
56
|
-
{$t`Completed backups will appear here
|
|
61
|
+
{$t`Completed backups will appear here after your first backup finishes.`}
|
|
57
62
|
</StackListPlaceholder>
|
|
58
63
|
{/if}
|
|
59
64
|
|
|
@@ -75,7 +80,12 @@
|
|
|
75
80
|
: outcome === "warn"
|
|
76
81
|
? $t`Backed up with warnings`
|
|
77
82
|
: $t`Backed up`}
|
|
78
|
-
<RelativeTime time={repository.metrics.lastBackup!} />
|
|
83
|
+
<RelativeTime time={repository.metrics.lastBackup!} /> ·
|
|
84
|
+
{#if repository.meter}
|
|
85
|
+
<FormatBytes bytes={repository.meter.sizeBytes} />
|
|
86
|
+
{:else}
|
|
87
|
+
{$t`Estimated`} <FormatBytes bytes={repository.metrics.sizeBytes} />
|
|
88
|
+
{/if}
|
|
79
89
|
</StackListItem>
|
|
80
90
|
{/each}
|
|
81
91
|
</StackList>
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
footer?: Snippet;
|
|
23
23
|
footerColor?: TileColor;
|
|
24
24
|
actions?: ActionItem[];
|
|
25
|
+
stackOnMobile?: boolean;
|
|
25
26
|
};
|
|
26
27
|
|
|
27
28
|
const {
|
|
@@ -34,19 +35,27 @@
|
|
|
34
35
|
footer,
|
|
35
36
|
footerColor = "primary",
|
|
36
37
|
actions = [],
|
|
38
|
+
stackOnMobile = false,
|
|
37
39
|
}: Props = $props();
|
|
38
40
|
</script>
|
|
39
41
|
|
|
40
42
|
<div>
|
|
41
|
-
<HStack
|
|
43
|
+
<HStack
|
|
44
|
+
gap={4}
|
|
45
|
+
class={`${className} px-5 py-4 ${stackOnMobile ? "items-start sm:items-center" : "items-center"}`}
|
|
46
|
+
>
|
|
42
47
|
{#if icon}
|
|
43
48
|
<IconTile {color}>{@render icon()}</IconTile>
|
|
44
49
|
{/if}
|
|
45
50
|
|
|
46
51
|
{#if title}
|
|
47
52
|
<Stack gap={0} class="flex-1 min-w-0">
|
|
48
|
-
<Text class="truncate">{title}</Text>
|
|
53
|
+
<Text class={stackOnMobile ? "sm:truncate" : "truncate"}>{title}</Text>
|
|
49
54
|
<Text size="small" color="muted">{@render children()}</Text>
|
|
55
|
+
|
|
56
|
+
{#if stackOnMobile && trailing}
|
|
57
|
+
<div class="mt-3 flex sm:hidden">{@render trailing()}</div>
|
|
58
|
+
{/if}
|
|
50
59
|
</Stack>
|
|
51
60
|
{:else}
|
|
52
61
|
<HStack gap={1} class="flex-1 items-baseline">
|
|
@@ -54,7 +63,11 @@
|
|
|
54
63
|
</HStack>
|
|
55
64
|
{/if}
|
|
56
65
|
|
|
57
|
-
{
|
|
66
|
+
{#if stackOnMobile && trailing}
|
|
67
|
+
<div class="hidden sm:block">{@render trailing()}</div>
|
|
68
|
+
{:else}
|
|
69
|
+
{@render trailing?.()}
|
|
70
|
+
{/if}
|
|
58
71
|
|
|
59
72
|
{#if hasActions(actions)}
|
|
60
73
|
<ContextMenuButton
|
package/dist/fetch-client.d.ts
CHANGED
|
@@ -377,210 +377,210 @@ export type SupportModeUpdateRequestDto = {
|
|
|
377
377
|
/**
|
|
378
378
|
* Connect a FUTO Backups account
|
|
379
379
|
*/
|
|
380
|
-
export declare function
|
|
380
|
+
export declare function futoBackupsConnectDeviceFlow(opts?: Oazapfts.RequestOpts): Promise<DeviceFlowEventDto>;
|
|
381
381
|
/**
|
|
382
382
|
* Sign in with FUTO Backups account
|
|
383
383
|
*/
|
|
384
|
-
export declare function
|
|
384
|
+
export declare function futoBackupsSessionDeviceFlow(opts?: Oazapfts.RequestOpts): Promise<DeviceFlowEventDto>;
|
|
385
385
|
/**
|
|
386
386
|
* Create session
|
|
387
387
|
*/
|
|
388
|
-
export declare function
|
|
388
|
+
export declare function futoBackupsCreateSession(createSessionRequestDto: CreateSessionRequestDto, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
389
389
|
/**
|
|
390
390
|
* Create a ticket
|
|
391
391
|
*/
|
|
392
|
-
export declare function
|
|
392
|
+
export declare function futoBackupsCreateTicket(ticketCreateRequestDto: TicketCreateRequestDto, opts?: Oazapfts.RequestOpts): Promise<TicketCreateResponseDto>;
|
|
393
393
|
/**
|
|
394
394
|
* List backends
|
|
395
395
|
*/
|
|
396
|
-
export declare function
|
|
396
|
+
export declare function futoBackupsGetBackends(opts?: Oazapfts.RequestOpts): Promise<BackendsResponseDto>;
|
|
397
397
|
/**
|
|
398
398
|
* Create a local backend
|
|
399
399
|
*/
|
|
400
|
-
export declare function
|
|
400
|
+
export declare function futoBackupsCreateLocalBackend(createLocalBackendRequestDto: CreateLocalBackendRequestDto, opts?: Oazapfts.RequestOpts): Promise<BackendResponseDto>;
|
|
401
401
|
/**
|
|
402
402
|
* Get backups orchestrator configuration
|
|
403
403
|
*/
|
|
404
|
-
export declare function
|
|
404
|
+
export declare function futoBackupsGetConfig(opts?: Oazapfts.RequestOpts): Promise<ConfigResponseDto>;
|
|
405
405
|
/**
|
|
406
406
|
* Update backups orchestrator configuration
|
|
407
407
|
*/
|
|
408
|
-
export declare function
|
|
408
|
+
export declare function futoBackupsUpdateConfig(configUpdateRequestDto: ConfigUpdateRequestDto, opts?: Oazapfts.RequestOpts): Promise<ConfigResponseDto>;
|
|
409
409
|
/**
|
|
410
410
|
* Reset the backups orchestrator
|
|
411
411
|
*/
|
|
412
|
-
export declare function
|
|
412
|
+
export declare function futoBackupsResetOrchestrator(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
413
413
|
/**
|
|
414
414
|
* List files
|
|
415
415
|
*/
|
|
416
|
-
export declare function
|
|
416
|
+
export declare function futoBackupsGetFileListing({ path }?: {
|
|
417
417
|
path?: string;
|
|
418
418
|
}, opts?: Oazapfts.RequestOpts): Promise<FilesystemListingResponseDto>;
|
|
419
419
|
/**
|
|
420
420
|
* Get backup integrations
|
|
421
421
|
*/
|
|
422
|
-
export declare function
|
|
422
|
+
export declare function futoBackupsGetIntegrations(opts?: Oazapfts.RequestOpts): Promise<IntegrationsResponseDto>;
|
|
423
423
|
/**
|
|
424
424
|
* Get Immich backup status
|
|
425
425
|
*/
|
|
426
|
-
export declare function
|
|
426
|
+
export declare function futoBackupsGetImmichBackupStatus(opts?: Oazapfts.RequestOpts): Promise<ImmichBackupStatusDto>;
|
|
427
427
|
/**
|
|
428
428
|
* Configure the Immich backup integration
|
|
429
429
|
*/
|
|
430
|
-
export declare function
|
|
430
|
+
export declare function futoBackupsConfigureImmichIntegration(configureImmichIntegrationRequestDto: ConfigureImmichIntegrationRequestDto, opts?: Oazapfts.RequestOpts): Promise<ConfigureImmichIntegrationResponseDto>;
|
|
431
431
|
/**
|
|
432
432
|
* Ignore the Immich database dump warning
|
|
433
433
|
*/
|
|
434
|
-
export declare function
|
|
434
|
+
export declare function futoBackupsIgnoreImmichDatabaseDumpWarning(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
435
435
|
/**
|
|
436
436
|
* Configure Immich database dumps
|
|
437
437
|
*/
|
|
438
|
-
export declare function
|
|
438
|
+
export declare function futoBackupsConfigureImmichDatabaseDump(configureImmichDatabaseDumpRequestDto: ConfigureImmichDatabaseDumpRequestDto, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
439
439
|
/**
|
|
440
440
|
* Roll Immich back to a snapshot
|
|
441
441
|
*/
|
|
442
|
-
export declare function
|
|
442
|
+
export declare function futoBackupsStartImmichRollback(immichRollbackRequestDto: ImmichRollbackRequestDto, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
443
443
|
/**
|
|
444
444
|
* List jobs
|
|
445
445
|
*/
|
|
446
|
-
export declare function
|
|
446
|
+
export declare function futoBackupsGetJobs(repositoryId: string, opts?: Oazapfts.RequestOpts): Promise<JobListResponseDto>;
|
|
447
447
|
/**
|
|
448
448
|
* Get a job
|
|
449
449
|
*/
|
|
450
|
-
export declare function
|
|
450
|
+
export declare function futoBackupsGetJob(id: string, opts?: Oazapfts.RequestOpts): Promise<JobDto>;
|
|
451
451
|
/**
|
|
452
452
|
* Cancel a job
|
|
453
453
|
*/
|
|
454
|
-
export declare function
|
|
454
|
+
export declare function futoBackupsCancelJob(id: string, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
455
455
|
/**
|
|
456
456
|
* Download a job log
|
|
457
457
|
*/
|
|
458
|
-
export declare function
|
|
458
|
+
export declare function futoBackupsDownloadJobLog(id: string, opts?: Oazapfts.RequestOpts): Promise<Blob>;
|
|
459
459
|
/**
|
|
460
460
|
* Download a job support log
|
|
461
461
|
*/
|
|
462
|
-
export declare function
|
|
462
|
+
export declare function futoBackupsDownloadJobSupportLog(id: string, opts?: Oazapfts.RequestOpts): Promise<Blob>;
|
|
463
463
|
/**
|
|
464
464
|
* Get backup onboarding status
|
|
465
465
|
*/
|
|
466
|
-
export declare function
|
|
466
|
+
export declare function futoBackupsOnboardingStatus(opts?: Oazapfts.RequestOpts): Promise<OnboardingStatusResponseDto>;
|
|
467
467
|
/**
|
|
468
468
|
* Get the backup recovery key
|
|
469
469
|
*/
|
|
470
|
-
export declare function
|
|
470
|
+
export declare function futoBackupsCurrentRecoveryKey(opts?: Oazapfts.RequestOpts): Promise<CurrentRecoveryKeyResponse>;
|
|
471
471
|
/**
|
|
472
472
|
* Import a backup recovery key
|
|
473
473
|
*/
|
|
474
|
-
export declare function
|
|
474
|
+
export declare function futoBackupsImportRecoveryKey(importRecoveryKeyRequest: ImportRecoveryKeyRequest, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
475
475
|
/**
|
|
476
476
|
* Confirm the backup recovery key
|
|
477
477
|
*/
|
|
478
|
-
export declare function
|
|
478
|
+
export declare function futoBackupsConfirmRecoveryKey(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
479
479
|
/**
|
|
480
480
|
* Skip optional backup onboarding
|
|
481
481
|
*/
|
|
482
|
-
export declare function
|
|
482
|
+
export declare function futoBackupsSkipOnboardingExtraConfig(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
483
483
|
/**
|
|
484
484
|
* Enable FUTO Backups telemetry
|
|
485
485
|
*/
|
|
486
|
-
export declare function
|
|
486
|
+
export declare function futoBackupsEnableTelemetry(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
487
487
|
/**
|
|
488
488
|
* Report a startup error
|
|
489
489
|
*/
|
|
490
|
-
export declare function
|
|
490
|
+
export declare function futoBackupsReportError(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
491
491
|
/**
|
|
492
492
|
* Create a new backup
|
|
493
493
|
*/
|
|
494
|
-
export declare function
|
|
494
|
+
export declare function futoBackupsCreateRepository(repositoryCreateRequestDto: RepositoryCreateRequestDto, { backend }?: {
|
|
495
495
|
backend?: string;
|
|
496
496
|
}, opts?: Oazapfts.RequestOpts): Promise<RepositoryCreateResponseDto>;
|
|
497
497
|
/**
|
|
498
498
|
* List backups
|
|
499
499
|
*/
|
|
500
|
-
export declare function
|
|
500
|
+
export declare function futoBackupsGetRepositories(opts?: Oazapfts.RequestOpts): Promise<RepositoryListResponseDto>;
|
|
501
501
|
/**
|
|
502
502
|
* List remote backups
|
|
503
503
|
*/
|
|
504
|
-
export declare function
|
|
504
|
+
export declare function futoBackupsInspectRepositories({ backend }?: {
|
|
505
505
|
backend?: string;
|
|
506
506
|
}, opts?: Oazapfts.RequestOpts): Promise<RepositoryInspectResponseDto>;
|
|
507
507
|
/**
|
|
508
508
|
* Update a backup
|
|
509
509
|
*/
|
|
510
|
-
export declare function
|
|
510
|
+
export declare function futoBackupsUpdateRepository(id: string, repositoryUpdateRequestDto: RepositoryUpdateRequestDto, { backend }?: {
|
|
511
511
|
backend?: string;
|
|
512
512
|
}, opts?: Oazapfts.RequestOpts): Promise<RepositoryUpdateResponseDto>;
|
|
513
513
|
/**
|
|
514
514
|
* Remove a backup
|
|
515
515
|
*/
|
|
516
|
-
export declare function
|
|
516
|
+
export declare function futoBackupsDeleteRepository(id: string, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
517
517
|
/**
|
|
518
518
|
* Start a backup
|
|
519
519
|
*/
|
|
520
|
-
export declare function
|
|
520
|
+
export declare function futoBackupsCreateBackup(id: string, opts?: Oazapfts.RequestOpts): Promise<JobResponseDto>;
|
|
521
521
|
/**
|
|
522
522
|
* Sync a remote deletion
|
|
523
523
|
*/
|
|
524
|
-
export declare function
|
|
524
|
+
export declare function futoBackupsSyncRepositoryDeletion(id: string, opts?: Oazapfts.RequestOpts): Promise<RepositorySyncDeletionResponseDto>;
|
|
525
525
|
/**
|
|
526
526
|
* Check a repository import
|
|
527
527
|
*/
|
|
528
|
-
export declare function
|
|
528
|
+
export declare function futoBackupsCheckImportRepository(id: string, backend: string, opts?: Oazapfts.RequestOpts): Promise<RepositoryCheckImportResponseDto>;
|
|
529
529
|
/**
|
|
530
530
|
* Import a repository
|
|
531
531
|
*/
|
|
532
|
-
export declare function
|
|
532
|
+
export declare function futoBackupsImportRepository(id: string, backend: string, opts?: Oazapfts.RequestOpts): Promise<RepositoryCreateResponseDto>;
|
|
533
533
|
/**
|
|
534
534
|
* Change the primary backend
|
|
535
535
|
*/
|
|
536
|
-
export declare function
|
|
536
|
+
export declare function futoBackupsReconfigureRepositoryPrimaryBackend(id: string, repositoryPrimaryBackendReconfigureRequestDto: RepositoryPrimaryBackendReconfigureRequestDto, opts?: Oazapfts.RequestOpts): Promise<RepositoryCreateResponseDto>;
|
|
537
537
|
/**
|
|
538
538
|
* List snapshots
|
|
539
539
|
*/
|
|
540
|
-
export declare function
|
|
540
|
+
export declare function futoBackupsGetSnapshots(id: string, opts?: Oazapfts.RequestOpts): Promise<ListSnapshotsResponseDto>;
|
|
541
541
|
/**
|
|
542
542
|
* Prune a repository
|
|
543
543
|
*/
|
|
544
|
-
export declare function
|
|
544
|
+
export declare function futoBackupsPruneRepository(id: string, opts?: Oazapfts.RequestOpts): Promise<JobResponseDto>;
|
|
545
545
|
/**
|
|
546
546
|
* Restore a snapshot
|
|
547
547
|
*/
|
|
548
|
-
export declare function
|
|
548
|
+
export declare function futoBackupsRestoreSnapshot(id: string, snapshot: string, repositorySnapshotRestoreRequestDto: RepositorySnapshotRestoreRequestDto, opts?: Oazapfts.RequestOpts): Promise<JobResponseDto>;
|
|
549
549
|
/**
|
|
550
550
|
* Delete a snapshot
|
|
551
551
|
*/
|
|
552
|
-
export declare function
|
|
552
|
+
export declare function futoBackupsForgetSnapshot(id: string, snapshot: string, opts?: Oazapfts.RequestOpts): Promise<ListSnapshotsResponseDto>;
|
|
553
553
|
/**
|
|
554
554
|
* Restore from snapshot
|
|
555
555
|
*/
|
|
556
|
-
export declare function
|
|
556
|
+
export declare function futoBackupsRestoreFromPoint(id: string, snapshot: string, backend: string, repositorySnapshotRestoreFromPointRequestDto: RepositorySnapshotRestoreFromPointRequestDto, opts?: Oazapfts.RequestOpts): Promise<JobResponseDto>;
|
|
557
557
|
/**
|
|
558
558
|
* List snapshot files
|
|
559
559
|
*/
|
|
560
|
-
export declare function
|
|
560
|
+
export declare function futoBackupsGetSnapshotListing(id: string, snapshot: string, { path }?: {
|
|
561
561
|
path?: string;
|
|
562
562
|
}, opts?: Oazapfts.RequestOpts): Promise<FilesystemListingResponseDto>;
|
|
563
563
|
/**
|
|
564
564
|
* Create a schedule
|
|
565
565
|
*/
|
|
566
|
-
export declare function
|
|
566
|
+
export declare function futoBackupsCreateSchedule(scheduleCreateRequestDto: ScheduleCreateRequestDto, opts?: Oazapfts.RequestOpts): Promise<ScheduleCreateResponseDto>;
|
|
567
567
|
/**
|
|
568
568
|
* List schedules
|
|
569
569
|
*/
|
|
570
|
-
export declare function
|
|
570
|
+
export declare function futoBackupsGetSchedules(opts?: Oazapfts.RequestOpts): Promise<ScheduleListResponseDto>;
|
|
571
571
|
/**
|
|
572
572
|
* Update a schedule
|
|
573
573
|
*/
|
|
574
|
-
export declare function
|
|
574
|
+
export declare function futoBackupsUpdateSchedule(id: string, scheduleUpdateRequestDto: ScheduleUpdateRequestDto, opts?: Oazapfts.RequestOpts): Promise<ScheduleUpdateResponseDto>;
|
|
575
575
|
/**
|
|
576
576
|
* Delete a schedule
|
|
577
577
|
*/
|
|
578
|
-
export declare function
|
|
578
|
+
export declare function futoBackupsRemoveSchedule(id: string, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
579
579
|
/**
|
|
580
580
|
* Get support mode
|
|
581
581
|
*/
|
|
582
|
-
export declare function
|
|
582
|
+
export declare function futoBackupsGetSupportMode(opts?: Oazapfts.RequestOpts): Promise<SupportModeResponseDto>;
|
|
583
583
|
/**
|
|
584
584
|
* Update support mode
|
|
585
585
|
*/
|
|
586
|
-
export declare function
|
|
586
|
+
export declare function futoBackupsUpdateSupportMode(supportModeUpdateRequestDto: SupportModeUpdateRequestDto, opts?: Oazapfts.RequestOpts): Promise<SupportModeResponseDto>;
|