From 17aa60351a743ba7ec1ce02984c713df8274c533 Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Thu, 16 May 2024 14:39:21 +0300 Subject: [PATCH] Update Backup.php --- web/app/Models/Backup.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/Models/Backup.php b/web/app/Models/Backup.php index fe53320..13929a1 100644 --- a/web/app/Models/Backup.php +++ b/web/app/Models/Backup.php @@ -286,7 +286,7 @@ class Backup extends Model } $shellFileContent .= PHP_EOL; - + } } @@ -298,6 +298,7 @@ class Backup extends Model $shellFileContent .= 'rm -rf '.$backupTempPath.PHP_EOL; $shellFileContent .= 'echo "Backup complete"' . PHP_EOL; $shellFileContent .= 'touch ' . $backupPath. '/backup.done' . PHP_EOL; + $shellFileContent .= 'phyre-php /usr/local/phyre/web/artisan phyre:run-backup-checks'. PHP_EOL; $shellFileContent .= 'rm -rf ' . $backupTempScript; file_put_contents($backupTempScript, $shellFileContent);