corrige chamada de função para remoção de snapshot anterior no BackupService
This commit is contained in:
parent
424f19c2e2
commit
007a87a536
|
|
@ -456,7 +456,7 @@ class BackupService {
|
|||
}
|
||||
} else {
|
||||
// Full: remove .snar anterior para forçar snapshot limpo.
|
||||
await fsp.rm(absoluteSnapshotPath, { force: true }).catch(() => null);
|
||||
await fs.rm(absoluteSnapshotPath, { force: true }).catch(() => null);
|
||||
tarIncrementalFlag = `--listed-incremental=${shellQuote('/backuproot/' + snapshotRelativePath)}`;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue