mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
fix: backups are now working again
This commit is contained in:
1 parent
7811c75139
commit
f49b87870c
5 files changed
+6
-5
No files matched your search
@@ -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