mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-04 13:35:22 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -25,7 +25,11 @@ export const runPostgresBackup = async (
|
||||
});
|
||||
const { prefix } = backup;
|
||||
const destination = backup.destination;
|
||||
const timestamp = new Date().toISOString().replace('T', '_').replace(/:/g, '-').replace('.', '_');
|
||||
const timestamp = new Date()
|
||||
.toISOString()
|
||||
.replace("T", "_")
|
||||
.replace(/:/g, "-")
|
||||
.replace(".", "_");
|
||||
const backupFileName = `${timestamp}.sql.gz`;
|
||||
const bucketDestination = `${normalizeS3Path(prefix)}${backupFileName}`;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user