mirror of
https://github.com/asabino2/dockerbackup.git
synced 2026-09-24 06:36:59 +00:00
corrige chamada de função para remoção de snapshot anterior no BackupService
This commit is contained in:
@@ -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)}`;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user