mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-23 21:42:19 +00:00
fix(backups): change backup file extension from .dump.gz to .sql.gz for consistency
This commit is contained in:
@@ -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} && \
|
||||
|
||||
Reference in New Issue
Block a user