High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): database backups compatible with deduplication (#13965)
Sefa Eyeoglu564449a55575
diff --git a/server/src/services/backup.service.ts b/server/src/services/backup.service.tsindex 3dad4f1016..1febe79130 100644--- a/server/src/services/backup.service.ts+++ b/server/src/services/backup.service.ts@@ -97,7 +97,8 @@ export class BackupService extends BaseService {env: { PATH: process.env.PATH, PGPASSWORD: isUrlConnection ? undefined : config.password },});- const gzip = this.processRepository.spawn(`gzip`, []);+ // NOTE: `--rsyncable` is only supported in GNU gzip+ const gzip = this.processRepository.spawn(`gzip`, ['--rsyncable']);pgdump.stdout.pipe(gzip.stdin);const fileStream = this.storageRepository.createWriteStream(backupFilePath);