Commit 2bfee44
Prune old DB backups, keep the 5 most recent
backup_db copies the SQLite file once per upgrade; without pruning the
data dir grows one snapshot per release. Keep the 5 newest and remove
the rest after each successful snapshot.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 84b8aa3 commit 2bfee44
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
201 | 215 | | |
202 | 216 | | |
203 | 217 | | |
| |||
0 commit comments