diff --git a/app/Repositories/ToolRepository.php b/app/Repositories/ToolRepository.php index 23b0462c..52d5cbd5 100644 --- a/app/Repositories/ToolRepository.php +++ b/app/Repositories/ToolRepository.php @@ -136,6 +136,8 @@ class ToolRepository extends BaseRepository do_log("[BACKUP_ALL_DONE]: " . json_encode($backupResult)); + return $backupResult; + } private function saveToGoogleDrive(array $setting, $filename): bool|string diff --git a/nexus/Install/settings.default.php b/nexus/Install/settings.default.php index 0e26494b..54d723bd 100644 --- a/nexus/Install/settings.default.php +++ b/nexus/Install/settings.default.php @@ -394,6 +394,8 @@ return array ( 'google_drive_client_secret' => '', 'google_drive_refresh_token' => '', 'google_drive_folder_id' => '', + 'via_ftp' => 'no', + 'via_sftp' => 'no', ), 'hr' => [ 'mode' => HitAndRun::MODE_DISABLED,