Skip to content

Commit d316aa4

Browse files
authored
Merge pull request #3893 from Dokploy/3853-web-server-backup-fails-when-unreadable-files-unix-sockets-named-pipes-exist-under-etcdokploy
fix: update rsync command in web-server backup to exclude special fil…
2 parents 7121fbe + f1b2cc3 commit d316aa4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/server/src/utils/backups/web-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const runWebServerBackup = async (backup: BackupSchedule) => {
6767
await execAsync(cleanupCommand);
6868

6969
await execAsync(
70-
`rsync -a --ignore-errors ${BASE_PATH}/ ${tempDir}/filesystem/`,
70+
`rsync -a --ignore-errors --no-specials --no-devices ${BASE_PATH}/ ${tempDir}/filesystem/`,
7171
);
7272

7373
writeStream.write("Copied filesystem to temp directory\n");

0 commit comments

Comments
 (0)