Skip to content

Commit

Permalink
mod_backup: fix periodic backup - broke because of added 'is full bac…
Browse files Browse the repository at this point in the history
…kup' flag in the backup list.
  • Loading branch information
mworrell committed Sep 17, 2015
1 parent d4815e2 commit 132ac85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod_backup/mod_backup.erl
Expand Up @@ -270,7 +270,7 @@ maybe_daily_dump(State) ->
case Time >= {3,0,0} andalso Time =< {7,0,0} of
true ->
DoStart = case list_backup_files(State#state.context) of
[{_, LastBackupDate}|_] -> LastBackupDate < {Date, {0,0,0}};
[{_, LastBackupDate, _IsFull}|_] -> LastBackupDate < {Date, {0,0,0}};
[] -> true
end,
case DoStart of
Expand Down

0 comments on commit 132ac85

Please sign in to comment.