fix(backups): change backup file extension from .dump.gz to .sql.gz for consistency

This commit is contained in:
Mauricio Siu
2025-08-02 18:40:40 -06:00
parent 201f07c084
commit 1300a6242c
4 changed files with 7 additions and 8 deletions

View File

@@ -81,7 +81,7 @@ const getMongoSpecificCommand = (
backupFile: string,
): string => {
const tempDir = "/tmp/dokploy-restore";
const fileName = backupFile.split("/").pop() || "backup.dump.gz";
const fileName = backupFile.split("/").pop() || "backup.sql.gz";
const decompressedName = fileName.replace(".gz", "");
return `
rm -rf ${tempDir} && \