mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
pref: 日志中加密授权信息输出替换成星号
This commit is contained in:
@@ -190,7 +190,7 @@ export class DBBackupPlugin extends AbstractPlusTaskPlugin {
|
||||
}
|
||||
|
||||
private async sshBackup(dbPath: string, backupDir: string, backupPath: string) {
|
||||
const access: SshAccess = await this.ctx.accessService.getById(this.sshAccessId);
|
||||
const access: SshAccess = await this.getAccess(this.sshAccessId);
|
||||
const sshClient = new SshClient(this.logger);
|
||||
this.logger.info('备份目录:', backupPath);
|
||||
await sshClient.uploadFiles({
|
||||
|
||||
Reference in New Issue
Block a user