From fd2097ea23127d7b5a956c1c7ca6a302cd798c22 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 3 Apr 2026 23:13:32 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- packages/server/src/utils/backups/compose.ts | 7 ++++++- packages/server/src/utils/backups/libsql.ts | 7 ++++++- packages/server/src/utils/backups/mariadb.ts | 7 ++++++- packages/server/src/utils/backups/mongo.ts | 7 ++++++- packages/server/src/utils/backups/mysql.ts | 7 ++++++- packages/server/src/utils/backups/postgres.ts | 7 ++++++- packages/server/src/utils/volume-backups/backup.ts | 6 +++++- 7 files changed, 41 insertions(+), 7 deletions(-) diff --git a/packages/server/src/utils/backups/compose.ts b/packages/server/src/utils/backups/compose.ts index 943fd513d..6640590b0 100644 --- a/packages/server/src/utils/backups/compose.ts +++ b/packages/server/src/utils/backups/compose.ts @@ -8,7 +8,12 @@ import { findEnvironmentById } from "@dokploy/server/services/environment"; import { findProjectById } from "@dokploy/server/services/project"; import { sendDatabaseBackupNotifications } from "../notifications/database-backup"; import { execAsync, execAsyncRemote } from "../process/execAsync"; -import { getBackupCommand, getBackupTimestamp, getS3Credentials, normalizeS3Path } from "./utils"; +import { + getBackupCommand, + getBackupTimestamp, + getS3Credentials, + normalizeS3Path, +} from "./utils"; export const runComposeBackup = async ( compose: Compose, diff --git a/packages/server/src/utils/backups/libsql.ts b/packages/server/src/utils/backups/libsql.ts index 4c06308b2..a994db8bd 100644 --- a/packages/server/src/utils/backups/libsql.ts +++ b/packages/server/src/utils/backups/libsql.ts @@ -8,7 +8,12 @@ import type { Libsql } from "@dokploy/server/services/libsql"; import { findProjectById } from "@dokploy/server/services/project"; import { sendDatabaseBackupNotifications } from "../notifications/database-backup"; import { execAsync, execAsyncRemote } from "../process/execAsync"; -import { getBackupCommand, getBackupTimestamp, getS3Credentials, normalizeS3Path } from "./utils"; +import { + getBackupCommand, + getBackupTimestamp, + getS3Credentials, + normalizeS3Path, +} from "./utils"; export const runLibsqlBackup = async ( libsql: Libsql, diff --git a/packages/server/src/utils/backups/mariadb.ts b/packages/server/src/utils/backups/mariadb.ts index 5cb5840a6..dea22ff18 100644 --- a/packages/server/src/utils/backups/mariadb.ts +++ b/packages/server/src/utils/backups/mariadb.ts @@ -8,7 +8,12 @@ import type { Mariadb } from "@dokploy/server/services/mariadb"; import { findProjectById } from "@dokploy/server/services/project"; import { sendDatabaseBackupNotifications } from "../notifications/database-backup"; import { execAsync, execAsyncRemote } from "../process/execAsync"; -import { getBackupCommand, getBackupTimestamp, getS3Credentials, normalizeS3Path } from "./utils"; +import { + getBackupCommand, + getBackupTimestamp, + getS3Credentials, + normalizeS3Path, +} from "./utils"; export const runMariadbBackup = async ( mariadb: Mariadb, diff --git a/packages/server/src/utils/backups/mongo.ts b/packages/server/src/utils/backups/mongo.ts index b60a74158..cebece14f 100644 --- a/packages/server/src/utils/backups/mongo.ts +++ b/packages/server/src/utils/backups/mongo.ts @@ -8,7 +8,12 @@ import type { Mongo } from "@dokploy/server/services/mongo"; import { findProjectById } from "@dokploy/server/services/project"; import { sendDatabaseBackupNotifications } from "../notifications/database-backup"; import { execAsync, execAsyncRemote } from "../process/execAsync"; -import { getBackupCommand, getBackupTimestamp, getS3Credentials, normalizeS3Path } from "./utils"; +import { + getBackupCommand, + getBackupTimestamp, + getS3Credentials, + normalizeS3Path, +} from "./utils"; export const runMongoBackup = async (mongo: Mongo, backup: BackupSchedule) => { const { environmentId, name, appName } = mongo; diff --git a/packages/server/src/utils/backups/mysql.ts b/packages/server/src/utils/backups/mysql.ts index d1386b5a8..a72f59880 100644 --- a/packages/server/src/utils/backups/mysql.ts +++ b/packages/server/src/utils/backups/mysql.ts @@ -8,7 +8,12 @@ import type { MySql } from "@dokploy/server/services/mysql"; import { findProjectById } from "@dokploy/server/services/project"; import { sendDatabaseBackupNotifications } from "../notifications/database-backup"; import { execAsync, execAsyncRemote } from "../process/execAsync"; -import { getBackupCommand, getBackupTimestamp, getS3Credentials, normalizeS3Path } from "./utils"; +import { + getBackupCommand, + getBackupTimestamp, + getS3Credentials, + normalizeS3Path, +} from "./utils"; export const runMySqlBackup = async (mysql: MySql, backup: BackupSchedule) => { const { environmentId, name, appName } = mysql; diff --git a/packages/server/src/utils/backups/postgres.ts b/packages/server/src/utils/backups/postgres.ts index 624fe3500..30a88db2b 100644 --- a/packages/server/src/utils/backups/postgres.ts +++ b/packages/server/src/utils/backups/postgres.ts @@ -8,7 +8,12 @@ import type { Postgres } from "@dokploy/server/services/postgres"; import { findProjectById } from "@dokploy/server/services/project"; import { sendDatabaseBackupNotifications } from "../notifications/database-backup"; import { execAsync, execAsyncRemote } from "../process/execAsync"; -import { getBackupCommand, getBackupTimestamp, getS3Credentials, normalizeS3Path } from "./utils"; +import { + getBackupCommand, + getBackupTimestamp, + getS3Credentials, + normalizeS3Path, +} from "./utils"; export const runPostgresBackup = async ( postgres: Postgres, diff --git a/packages/server/src/utils/volume-backups/backup.ts b/packages/server/src/utils/volume-backups/backup.ts index a54301588..1d795a14a 100644 --- a/packages/server/src/utils/volume-backups/backup.ts +++ b/packages/server/src/utils/volume-backups/backup.ts @@ -2,7 +2,11 @@ import path from "node:path"; import { paths } from "@dokploy/server/constants"; import { findComposeById } from "@dokploy/server/services/compose"; import type { findVolumeBackupById } from "@dokploy/server/services/volume-backups"; -import { getBackupTimestamp, getS3Credentials, normalizeS3Path } from "../backups/utils"; +import { + getBackupTimestamp, + getS3Credentials, + normalizeS3Path, +} from "../backups/utils"; export const getVolumeServiceAppName = ( volumeBackup: Awaited>,