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 -1
View File
@@ -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)}`;
}
}