corrige chamada de função para remoção de snapshot anterior no BackupService

This commit is contained in:
Alexander Sabino 2026-05-07 11:45:28 +01:00
parent 424f19c2e2
commit 007a87a536
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ class BackupService {
} }
} else { } else {
// Full: remove .snar anterior para forçar snapshot limpo. // 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)}`; tarIncrementalFlag = `--listed-incremental=${shellQuote('/backuproot/' + snapshotRelativePath)}`;
} }
} }