diff --git a/README.md b/README.md index b0d05bb6..c589b788 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Dokploy include multiples features to make your life easier. - **Traefik Integration**: Automatically integrates with Traefik for routing and load balancing. - **Real-time Monitoring**: Monitor CPU, memory, storage, and network usage, for every resource. - **Docker Management**: Easily deploy and manage Docker containers. -- **CLI/API**: Manage your applications and databases using the command line or trought the API. +- **CLI/API**: Manage your applications and databases using the command line or through the API. - **Notifications**: Get notified when your deployments are successful or failed (Slack, Discord, Telegram, Email, etc.) - **Multi Server**: Deploy and manager your applications remotely to external servers. - **Self-Hosted**: Self-host Dokploy on your VPS. diff --git a/apps/dokploy/package.json b/apps/dokploy/package.json index 0bfd938c..31da458e 100644 --- a/apps/dokploy/package.json +++ b/apps/dokploy/package.json @@ -1,6 +1,6 @@ { "name": "dokploy", - "version": "v0.10.2", + "version": "v0.10.3", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/packages/server/src/utils/backups/mongo.ts b/packages/server/src/utils/backups/mongo.ts index 6578a84a..95dd9005 100644 --- a/packages/server/src/utils/backups/mongo.ts +++ b/packages/server/src/utils/backups/mongo.ts @@ -29,7 +29,7 @@ export const runMongoBackup = async (mongo: Mongo, backup: BackupSchedule) => { mongo.serverId, appName, ); - const mongoDumpCommand = `docker exec ${containerId} sh -c "mongodump -d '${database}' -u '${databaseUser}' -p '${databasePassword}' --authenticationDatabase=admin --gzip"`; + const mongoDumpCommand = `docker exec ${containerId} sh -c "mongodump -d '${database}' -u '${databaseUser}' -p '${databasePassword}' --archive --authenticationDatabase=admin --gzip"`; await execAsyncRemote( mongo.serverId, @@ -37,7 +37,7 @@ export const runMongoBackup = async (mongo: Mongo, backup: BackupSchedule) => { ); } else { const { Id: containerId } = await getServiceContainer(appName); - const mongoDumpCommand = `docker exec ${containerId} sh -c "mongodump -d '${database}' -u '${databaseUser}' -p '${databasePassword}' --authenticationDatabase=admin --gzip"`; + const mongoDumpCommand = `docker exec ${containerId} sh -c "mongodump -d '${database}' -u '${databaseUser}' -p '${databasePassword}' --archive --authenticationDatabase=admin --gzip"`; await execAsync(`${mongoDumpCommand} | ${rcloneCommand}`); }