You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,17 @@ return [
58
58
59
59
The backups list isn't paginated because it is not intended to keep hundreds of backups around. If included in a client website, you should include a note specifying an expected frequency of backup creation / deletion (or set up a CRON job).
60
60
61
+
You can enforce a maximum number of backups by setting the `maximum` option to any integer (default is `false`).
62
+
If this number is reached the oldest backup will be deleted automatically whenever a new backup is created.
63
+
64
+
```php
65
+
// site/config.php
66
+
return [
67
+
'sylvainjule.backups.maximum' => 5,
68
+
];
69
+
```
70
+
71
+
61
72
There's also a way to disable the "Backups" menu-item for specific user roles:
0 commit comments