Index: branches/ariel/xmldumps-backup/worker.py |
— | — | @@ -1822,7 +1822,8 @@ |
1823 | 1823 | if (self._enabled): |
1824 | 1824 | self.makeDir(self.dumpDir.latestDir()) |
1825 | 1825 | realfile = self.dumpDir.filenamePublicPath(dumpFile) |
1826 | | - link = os.path.join(self.dumpDir.latestDir(), dumpFile.filename) |
| 1826 | + latestFilename = dumpFile.newFilename(dumpFile.dumpName, dumpFile.fileType, dumpFile.fileExt, 'latest', dumpFile.chunk, dumpFile.checkpoint, dumpFile.temp) |
| 1827 | + link = os.path.join(self.dumpDir.latestDir(), latestFilename) |
1827 | 1828 | if exists(link) or os.path.islink(link): |
1828 | 1829 | if os.path.islink(link): |
1829 | 1830 | realfile = os.readlink(link) |