@webtypen/webframez-core 0.3.50 → 0.3.51
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.
|
@@ -209,6 +209,7 @@ class BackupManager {
|
|
|
209
209
|
options: source.options || {},
|
|
210
210
|
backupKey: context.backupKey,
|
|
211
211
|
backupId: context.backupId,
|
|
212
|
+
log: context.log,
|
|
212
213
|
});
|
|
213
214
|
return {
|
|
214
215
|
connection: source.connection,
|
|
@@ -304,7 +305,11 @@ class BackupManager {
|
|
|
304
305
|
this.log(options, "File copy finished");
|
|
305
306
|
for (const source of normalizeArray(backupType.databases)) {
|
|
306
307
|
this.log(options, `Backing up database '${source.connection || "default"}'`);
|
|
307
|
-
result.databases.push(yield this.backupDatabase(source, contentDir, {
|
|
308
|
+
result.databases.push(yield this.backupDatabase(source, contentDir, {
|
|
309
|
+
backupKey: key,
|
|
310
|
+
backupId: id,
|
|
311
|
+
log: (message, payload) => this.log(options, message, payload),
|
|
312
|
+
}));
|
|
308
313
|
this.log(options, `Database '${source.connection || "default"}' backup finished`);
|
|
309
314
|
}
|
|
310
315
|
result.artifact = this.buildArtifact(key, backupType, workRunDir, contentDir, now, id, options);
|
package/package.json
CHANGED