fix(backups): stop containers during volume backup creation

Track and recover stopped containers across interrupted backup executions.
This commit is contained in:
Andras Bacsai committed 2026-07-15 15:59:35 +02:00
1 parent 63961e0799
commit 4eec1ac547
11 files changed
+131 -81

No files matched your search

+2 -2
View File
@@ -17,7 +17,7 @@ class ScheduledVolumeBackup extends BaseModel
'enabled',
'save_s3',
'disable_local_backup',
'pause_during_backup',
'stop_during_backup',
'retention_amount_locally',
'retention_days_locally',
'retention_max_storage_locally',
@@ -33,7 +33,7 @@ class ScheduledVolumeBackup extends BaseModel
'enabled' => 'boolean',
'save_s3' => 'boolean',
'disable_local_backup' => 'boolean',
'pause_during_backup' => 'boolean',
'stop_during_backup' => 'boolean',
'retention_amount_locally' => 'integer',
'retention_days_locally' => 'integer',
'retention_max_storage_locally' => 'float',
@@ -13,8 +13,8 @@ class ScheduledVolumeBackupExecution extends BaseModel
'message',
'size',
'filename',
'pause_container_ids',
'pause_recovery_pending',
'stop_container_ids',
'stop_recovery_pending',
's3_cleanup_pending',
'finished_at',
'local_storage_deleted',
@@ -27,8 +27,8 @@ class ScheduledVolumeBackupExecution extends BaseModel
return [
'size' => 'integer',
'finished_at' => 'datetime',
'pause_container_ids' => 'array',
'pause_recovery_pending' => 'boolean',
'stop_container_ids' => 'array',
'stop_recovery_pending' => 'boolean',
's3_cleanup_pending' => 'boolean',
'local_storage_deleted' => 'boolean',
's3_storage_deleted' => 'boolean',