fix(@xen-orchestra/backups/Backup.js): fix rolling snapshot not ran if alone (#5656)
This commit is contained in:
parent
e0e89213d3
commit
5cca5d69af
@ -230,7 +230,7 @@ exports.Backup = class Backup {
|
||||
// remove srs that failed (already handled)
|
||||
srs = srs.filter(_ => _ !== undefined)
|
||||
|
||||
if (remoteAdapters.length === 0 && srs.length === 0) {
|
||||
if (remoteAdapters.length === 0 && srs.length === 0 && scheduleSettings.snapshotRetention === 0) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user