mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
fix: backups are now working again
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user