Storage
Frappe Drive supports per user storage quota or a pooling the entire allocated to the pooled storage.
Dividing Storage
Pooling Storage
This is the default behaviour. No extra configuration is required to use this mode. Every user shared the entire allocated storage. If your site has a limit of 50 GB, that limit is shared by everyone. If user_a
uploads a 2 GB file, user_b
only has 48 GB to work with.
Per Usage
This involves some configuration.
1. Enable Per User Storage Quota
in the Drive Instance Settings Doctype
2. Create an entry for each user in Drive User Storage Quota
If the quota for any user is not present. Currently they fallback to the pooled storage limit.
Adding Storage
Frappe Cloud
On Frappe Cloud your storage limit is automatically handled by the plan you select and the corresponding disk space that plan has. Additionally, you can also use a disk storage add-on to increase your disk size.
Self-hosted
You can add your storage limit in GB inside the Drive Instance Settings
DocType. Under the hood it's simply updating the site_config
.