fix: backups are now working again
This commit is contained in:
		
							parent
							
								
									7811c75139
								
							
						
					
					
						commit
						f49b87870c
					
				| @ -10,7 +10,7 @@ class CreateScheduledBackup extends Component | ||||
|     public $database; | ||||
|     public $frequency; | ||||
|     public bool $enabled = true; | ||||
|     public bool $save_s3 = true; | ||||
|     public bool $save_s3 = false; | ||||
|     public $s3_storage_id; | ||||
|     public $s3s; | ||||
| 
 | ||||
|  | ||||
| @ -61,7 +61,8 @@ class DatabaseBackupJob implements ShouldQueue, ShouldBeEncrypted | ||||
|     public function handle(): void | ||||
|     { | ||||
|         try { | ||||
|             if (data_get($this->database, 'status') !== 'running') { | ||||
|             $status = Str::of(data_get($this->database, 'status')); | ||||
|             if (!$status->startsWith('running')) { | ||||
|                 ray('database not running'); | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
| @ -7,7 +7,7 @@ return [ | ||||
| 
 | ||||
|     // The release version of your application
 | ||||
|     // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
 | ||||
|     'release' => '4.0.0-beta.51', | ||||
|     'release' => '4.0.0-beta.52', | ||||
|     // When left empty or `null` the Laravel environment will be used
 | ||||
|     'environment' => config('app.env'), | ||||
| 
 | ||||
|  | ||||
| @ -1,3 +1,3 @@ | ||||
| <?php | ||||
| 
 | ||||
| return '4.0.0-beta.51'; | ||||
| return '4.0.0-beta.52'; | ||||
|  | ||||
| @ -4,7 +4,7 @@ | ||||
|             "version": "3.12.36" | ||||
|         }, | ||||
|         "v4": { | ||||
|             "version": "4.0.0-beta.51" | ||||
|             "version": "4.0.0-beta.52" | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user