fix: update rsync command in web-server backup to exclude special files and devices

This commit is contained in:
Mauricio Siu
2026-03-04 21:21:46 -06:00
parent 7121fbe50a
commit f1b2cc35b3

View File

@@ -67,7 +67,7 @@ export const runWebServerBackup = async (backup: BackupSchedule) => {
await execAsync(cleanupCommand);
await execAsync(
`rsync -a --ignore-errors ${BASE_PATH}/ ${tempDir}/filesystem/`,
`rsync -a --ignore-errors --no-specials --no-devices ${BASE_PATH}/ ${tempDir}/filesystem/`,
);
writeStream.write("Copied filesystem to temp directory\n");