Originally created by @rasmusson on GitHub (Mar 25, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
Problem Description
Inside the /app/backend/data folder the user data resides together with a cache folder, containing embedding and audio models. This makes the size of backups of user data become unnecessarily large.
Desired Solution you'd like
The cache could instead be placed in /app/backend/cache allowing backup of only user data.
Alternatives Considered
I have found no other way on not including cache in backups as I do full volume backup and the /app/backend/data/cache folder can not be separated in its own folder when it is a subfolder of /app/backend/data
Additional Context
I previously submitted this feature request, but it was converted to a discussion without any reason specified. I think it was because one user suggesting this was a setting. Later in the discussion it was confirmed that this is not a setting and we bot consider it a feature that needs development
Originally created by @rasmusson on GitHub (Mar 25, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### Problem Description
Inside the /app/backend/data folder the user data resides together with a cache folder, containing embedding and audio models. This makes the size of backups of user data become unnecessarily large.
### Desired Solution you'd like
The cache could instead be placed in /app/backend/cache allowing backup of only user data.
### Alternatives Considered
I have found no other way on not including cache in backups as I do full volume backup and the /app/backend/data/cache folder can not be separated in its own folder when it is a subfolder of /app/backend/data
### Additional Context
I previously submitted this feature request, but it was converted to a discussion without any reason specified. I think it was because one user suggesting this was a setting. Later in the discussion it was confirmed that this is not a setting and we bot consider it a feature that needs development
@networkpankaj commented on GitHub (Mar 25, 2025):
Try this :-
Move cache to a new folder: /app/backend/cache, separate from actual user data.
Make sure this applies to both:
Embedding cache
Audio models
Any other relevant cache folders
the cache folder from /app/backend/data/cache to /app/backend/cache to make backups smaller and avoid unnecessary data being included.
This change improves backup reliability, reduces storage usage.
@networkpankaj commented on GitHub (Mar 25, 2025):
Try this :-
Move cache to a new folder: /app/backend/cache, separate from actual user data.
Make sure this applies to both:
1. Embedding cache
2. Audio models
3. Any other relevant cache folders
the cache folder from /app/backend/data/cache to /app/backend/cache to make backups smaller and avoid unnecessary data being included.
This change improves backup reliability, reduces storage usage.
Do you mean I should do this or is this input to developers. If its a suggestion to me, how do I set what folder is used as cache folder in WebUI?
@rasmusson commented on GitHub (Mar 25, 2025):
Do you mean I should do this or is this input to developers. If its a suggestion to me, how do I set what folder is used as cache folder in WebUI?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @rasmusson on GitHub (Mar 25, 2025).
Check Existing Issues
Problem Description
Inside the /app/backend/data folder the user data resides together with a cache folder, containing embedding and audio models. This makes the size of backups of user data become unnecessarily large.
Desired Solution you'd like
The cache could instead be placed in /app/backend/cache allowing backup of only user data.
Alternatives Considered
I have found no other way on not including cache in backups as I do full volume backup and the /app/backend/data/cache folder can not be separated in its own folder when it is a subfolder of /app/backend/data
Additional Context
I previously submitted this feature request, but it was converted to a discussion without any reason specified. I think it was because one user suggesting this was a setting. Later in the discussion it was confirmed that this is not a setting and we bot consider it a feature that needs development
@networkpankaj commented on GitHub (Mar 25, 2025):
Try this :-
Move cache to a new folder: /app/backend/cache, separate from actual user data.
Make sure this applies to both:
the cache folder from /app/backend/data/cache to /app/backend/cache to make backups smaller and avoid unnecessary data being included.
This change improves backup reliability, reduces storage usage.
@rasmusson commented on GitHub (Mar 25, 2025):
Do you mean I should do this or is this input to developers. If its a suggestion to me, how do I set what folder is used as cache folder in WebUI?