diff --git a/presets/testnet/network.yml b/presets/testnet/network.yml index e56478442..b7b16baa9 100644 --- a/presets/testnet/network.yml +++ b/presets/testnet/network.yml @@ -28,8 +28,7 @@ mosaicRentalFeeSinkAddress: TDGY4DD2U4YQQGERFMDQYHPYS6M7LHIF6XUCJ4Q namespaceRentalFeeSinkAddress: TDGY4DD2U4YQQGERFMDQYHPYS6M7LHIF6XUCJ4Q faucetUrl: 'http://faucet.testnet.symboldev.network' trustedHosts: -backupSyncLocation: https://symbol-bootstrap.s3-eu-west-1.amazonaws.com/testnet/testnet-full-backup.zip -backupSyncLocalCacheFileName: testnet-full-backup.zip +backupSyncLocation: https://symbol-bootstrap.s3-eu-west-1.amazonaws.com/testnet/backup.zip inflation: starting-at-height-2: 95998521 starting-at-height-200: 91882261 diff --git a/src/service/BackupSyncService.ts b/src/service/BackupSyncService.ts index 35a62aad4..bf2beab1f 100644 --- a/src/service/BackupSyncService.ts +++ b/src/service/BackupSyncService.ts @@ -53,7 +53,7 @@ export class BackupSyncService { presetData.backupSyncLocalCacheFileName || `backup-${presetData.nemesisGenerationHashSeed}.zip`, ); const fileLocation = (await BootstrapUtils.download(presetData.backupSyncLocation, downloadLocation)).fileLocation; - + logger.info(`Restoring data from zip backup '${fileLocation}'`); if (this.fullRestore) await Promise.all( (presetData.databases || []).map(async (db) => { @@ -184,7 +184,7 @@ export class BackupSyncService { if (!entry.stats?.isDirectory()) { process++; const percentage = ((process * 100) / totalFiles).toFixed(2); - const message = percentage + '% | ' + process + ' files zipped out of ' + totalFiles; + const message = `${percentage}% | ${process} files zipped out of ${totalFiles}`; BootstrapUtils.logSameLineMessage(message); } const ignoreFiles = ['server.lock', 'broker.started', 'broker.lock'];