mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: update rsync command in web server backup to remove verbose flag
This commit is contained in:
@@ -66,8 +66,12 @@ export const runWebServerBackup = async (backup: BackupSchedule) => {
|
|||||||
writeStream.write(`Cleaning up temp file: ${cleanupCommand}\n`);
|
writeStream.write(`Cleaning up temp file: ${cleanupCommand}\n`);
|
||||||
await execAsync(cleanupCommand);
|
await execAsync(cleanupCommand);
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`rsync -a --ignore-errors ${BASE_PATH}/ ${tempDir}/filesystem/`,
|
||||||
|
);
|
||||||
|
|
||||||
await execAsync(
|
await execAsync(
|
||||||
`rsync -av --ignore-errors ${BASE_PATH}/ ${tempDir}/filesystem/`,
|
`rsync -a --ignore-errors ${BASE_PATH}/ ${tempDir}/filesystem/`,
|
||||||
);
|
);
|
||||||
|
|
||||||
writeStream.write("Copied filesystem to temp directory\n");
|
writeStream.write("Copied filesystem to temp directory\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user