File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/server/src/utils Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const runWebServerBackup = async (backup: BackupSchedule) => {
2929 await execAsync ( `cp -r ${ BASE_PATH } /* ${ tempDir } /filesystem/` ) ;
3030
3131 await execAsync (
32- `cd ${ tempDir } && zip -r ${ backupFileName } database.sql filesystem/` ,
32+ `cd ${ tempDir } && zip -r ${ backupFileName } database.sql filesystem/ > /dev/null 2>&1 ` ,
3333 ) ;
3434
3535 const uploadCommand = `rclone copyto ${ rcloneFlags . join ( " " ) } "${ tempDir } /${ backupFileName } " "${ s3Path } "` ;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export const restoreWebServerBackup = async (
4545
4646 // Extract backup
4747 emit ( "Extracting backup..." ) ;
48- await execAsync ( `cd ${ tempDir } && unzip ${ backupFile } ` ) ;
48+ await execAsync ( `cd ${ tempDir } && unzip ${ backupFile } > /dev/null 2>&1 ` ) ;
4949
5050 // Restore filesystem first
5151 emit ( "Restoring filesystem..." ) ;
You can’t perform that action at this time.
0 commit comments