Storage
Manage your ticket data storage with automatic cleanup policies and configurable actions for when storage limits are reached.
Data Retention
Clean up old ticket data Premium
Automatically remove images, videos, and other file attachments (not text messages) from old tickets after a set amount of time to reduce data usage.
How it works:
- Set a retention period (e.g., 30 days, 90 days, 1 year)
- After the specified time, TicketBot automatically deletes file attachments from tickets
- Text messages and ticket transcripts are preserved
- Only affects files uploaded within ticket channels (images, videos, documents, etc.)
Benefits:
- Reduces storage costs by removing old attachments
- Keeps your data usage within limits
- Maintains ticket history while removing unnecessary files
- Automatic process requires no manual intervention
Use cases:
- Set 30-day retention for high-volume servers with many image uploads
- Use 90-day retention to balance storage costs with data availability
- Configure 1-year retention for compliance or record-keeping requirements
TIP
This setting only removes file attachments. All text messages and ticket transcripts remain accessible on the TicketBot Dashboard regardless of this setting.
Storage Policies
Storage exceeded action Premium
Configure what happens when your server exceeds its storage limit. Choose from different automated actions to manage data capacity.
Available options:
Inform - Notify server administrators when storage limit is reached, but continue accepting new files. No automatic deletion occurs.
DeleteOldestFileSameSubject - Automatically delete the oldest file from the same subject to make room for the new upload. Keeps storage balanced within each ticket type.
DeleteOldestFileGlobal - Automatically delete the oldest file across all subjects to make room for the new upload. Prioritizes newest files server-wide.
Reject - Refuse new file uploads when storage limit is reached. Users are notified they cannot upload files until space is freed.
How to choose:
| Option | Best for | Behavior |
|---|---|---|
| Inform | Manual management | Alerts only, no action |
| DeleteOldestFileSameSubject | Balanced per-subject storage | Auto-delete oldest in same subject |
| DeleteOldestFileGlobal | Aggressive space management | Auto-delete oldest across all subjects |
| Reject | Strict storage limits | Block uploads when full |
Benefits:
- Prevents unexpected storage overages
- Automates storage management
- Maintains service availability
- Protects against excessive data usage
Use cases:
- Use Inform for servers with ample storage to manually review usage
- Use DeleteOldestFileSameSubject to automatically manage storage while keeping subject data balanced
- Use DeleteOldestFileGlobal for maximum storage efficiency when all subjects are equally important
- Use Reject when strict storage compliance is required