mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-27 23:42:15 +00:00
Implement enhanced backup logging and deployment tracking for database backups
- Refactored backup utilities for MariaDB, MongoDB, MySQL, and PostgreSQL to include detailed logging of command execution, improving traceability and debugging. - Introduced deployment tracking for backups, allowing for better management of backup statuses and notifications. - Updated backup command execution to utilize writable streams, ensuring efficient data handling during backup processes. - Enhanced error handling and logging for backup operations, providing clearer feedback on success or failure.
This commit is contained in:
@@ -92,8 +92,8 @@ export const runComposeBackup = async (
|
||||
await execAsyncStream(
|
||||
`${backupCommand} | ${rcloneCommand}`,
|
||||
(data) => {
|
||||
if (writeStream.write(data)) {
|
||||
console.log(data);
|
||||
if (writeStream.writable) {
|
||||
writeStream.write(data);
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user