Skip to content

Commit dd44056

Browse files
committed
chore: add env variable documentation for backup retention limit
1 parent 1d820ea commit dd44056

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

website/docs/getting-started/setup/environment-variables.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,14 @@ Specify a `5-value` cron expression to define the schedule for automatic backups
513513

514514
</dd>
515515

516+
##### `APPSMITH_BACKUP_ARCHIVE_LIMIT`
517+
518+
<dd>
519+
520+
Controls how many recent backup archives are retained. Backups use a count-based retention system (not time-based): each run creates a new timestamped file in `/appsmith-stacks/data/backup/`, and after every successful backup the cleanup process prunes the oldest files if the total exceeds this limit. The default is `4`, ensuring storage does not grow unbounded while keeping the most recent backup history. Backups are never overwritten; older files are simply deleted once the limit is surpassed.
521+
522+
</dd>
523+
516524
<!-- vale off -->
517525
<br/>
518526
<div className="tag-wrapper">

0 commit comments

Comments
 (0)