@webtypen/webframez-core 0.3.55 → 0.3.57
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/Backup/BackupManager.d.ts +25 -1
- package/dist/Backup/BackupManager.js +490 -79
- package/dist/Backup/BackupTypes.d.ts +69 -0
- package/dist/Backup/Jobs/BackupRunJob.js +3 -0
- package/dist/Backup/OutputDrivers/BaseBackupOutputDriver.d.ts +4 -1
- package/dist/Backup/OutputDrivers/LocalBackupOutputDriver.d.ts +7 -0
- package/dist/Backup/OutputDrivers/LocalBackupOutputDriver.js +125 -45
- package/dist/Commands/BackupRestoreCommand.d.ts +6 -0
- package/dist/Commands/BackupRestoreCommand.js +62 -0
- package/dist/Commands/BackupRestorePointsCommand.d.ts +6 -0
- package/dist/Commands/BackupRestorePointsCommand.js +48 -0
- package/dist/Commands/BackupRunCommand.js +5 -0
- package/dist/Commands/QueueWorkerCommand.d.ts +0 -1
- package/dist/Commands/QueueWorkerCommand.js +8 -93
- package/dist/ConsoleApplication.js +4 -0
- package/dist/Queue/AutomationSchedule.d.ts +10 -0
- package/dist/Queue/AutomationSchedule.js +126 -0
- package/dist/Queue/BaseQueueJob.js +7 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/package.json +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BackupCleanupOptions, BackupCleanupResult, BackupConfig, BackupOutputConfig, BackupRetentionConfig, BackupRunOptions, BackupRunResult, BackupTypeConfig } from "./BackupTypes";
|
|
1
|
+
import { BackupCleanupOptions, BackupCleanupResult, BackupConfig, BackupOutputConfig, BackupRetentionConfig, BackupRestorePoint, BackupRestoreResult, BackupRunOptions, BackupRunResult, BackupTypeConfig } from "./BackupTypes";
|
|
2
2
|
type ResolvedBackupTypeConfig = BackupTypeConfig & {
|
|
3
3
|
workDir: string;
|
|
4
4
|
outputDir: string;
|
|
@@ -24,9 +24,33 @@ export declare class BackupManager {
|
|
|
24
24
|
private resolveOutputs;
|
|
25
25
|
private collectFilesFromSource;
|
|
26
26
|
private copyFiles;
|
|
27
|
+
private buildFileIndex;
|
|
28
|
+
private fileIndexChanged;
|
|
29
|
+
private incrementalEnabled;
|
|
30
|
+
private assertIncrementalSupported;
|
|
31
|
+
private chooseOutputForRead;
|
|
32
|
+
private listRestorePointsForOutput;
|
|
33
|
+
listRestorePoints(key: string, options?: {
|
|
34
|
+
channels?: string[];
|
|
35
|
+
}): Promise<BackupRestorePoint[]>;
|
|
36
|
+
private isFullIncrementalRun;
|
|
37
|
+
private buildBackupManifest;
|
|
38
|
+
private writeContentManifest;
|
|
27
39
|
private backupDatabase;
|
|
28
40
|
private buildArtifact;
|
|
41
|
+
private statusLogPath;
|
|
42
|
+
private runStatus;
|
|
43
|
+
private statusLogOutputs;
|
|
44
|
+
private writeStatusLog;
|
|
29
45
|
run(key: string, options?: BackupRunOptions): Promise<BackupRunResult>;
|
|
46
|
+
private downloadRestoreArtifact;
|
|
47
|
+
private restoreChain;
|
|
48
|
+
private extractArtifact;
|
|
49
|
+
restore(key: string, targetDir: string | undefined, options?: {
|
|
50
|
+
backupId?: string;
|
|
51
|
+
channels?: string[];
|
|
52
|
+
dryRun?: boolean;
|
|
53
|
+
}): Promise<BackupRestoreResult>;
|
|
30
54
|
cleanup(key: string, options?: BackupCleanupOptions): Promise<BackupCleanupResult[]>;
|
|
31
55
|
}
|
|
32
56
|
export {};
|