Storage
Manage file storage buckets and objects for your application.
Overview
Storage provides a scalable file storage system for your applications. Create buckets to organize files, upload and download objects, and manage access permissions.
Concepts
Bucket
A container for storing files. Buckets organize objects and can have their own access policies and settings.
Object
A file stored in a bucket. Objects can be any file type including images, documents, videos, and data files.
Storage Quota
The total amount of storage space available based on your subscription plan.
View Buckets
- Navigate to your App in the Dashboard.
- Click Storage in the sidebar.
- View all buckets with:
- Bucket Name: Display name
- Objects: Number of files
- Size: Total storage used
- Created: When the bucket was created
Create a Bucket
- Navigate to Storage in your app.
- Click Create Bucket.
- Fill in the bucket details:
- Name: Descriptive bucket name
- Slug: URL identifier (auto-generated)
- Description: Purpose of the bucket
- Public: Whether files are publicly accessible
- Click Create.
Use descriptive names that indicate what type of files the bucket contains, such as "user-uploads", "product-images", or "documents".
View Bucket Contents
- Click on a bucket in the list.
- View all objects with:
- File Name: Object name
- Size: File size
- Type: MIME type
- Uploaded: Upload timestamp
Search Files
- Use the search bar to filter by filename.
- Results update as you type.
Upload Files
Single File Upload
- Navigate to a bucket.
- Click Upload.
- Select a file from your device.
- Wait for upload to complete.
Drag and Drop
- Navigate to a bucket.
- Drag files from your file manager.
- Drop onto the upload zone.
- Files upload automatically.
Multiple Files
- Select multiple files when uploading.
- All files upload to the current bucket.
Download Files
- Navigate to the bucket containing the file.
- Click on the file to view details.
- Click Download.
- Save the file to your device.
Delete Files
- Navigate to the bucket.
- Find the file in the list.
- Click the Delete (trash) icon.
- Confirm deletion.
Bulk Delete
- Select multiple files using checkboxes.
- Click Delete Selected.
- Confirm deletion.
Deleted files cannot be recovered. Ensure you have backups of important files before deletion.
Edit Bucket Settings
- Navigate to Storage in your app.
- Click the Edit icon on the bucket.
- Update settings:
- Name: Change display name
- Description: Update description
- Public: Toggle public access
- Click Save.
Delete a Bucket
- Navigate to Storage in your app.
- Click the Delete (trash) icon on the bucket.
- Confirm deletion.
Deleting a bucket removes all files inside it. This action cannot be undone.
Storage Usage
Monitor your storage consumption:
- Navigate to Storage in your app.
- View the usage bar at the top:
- Used: Current storage used
- Total: Your storage quota
- Percentage: Usage percentage
Search Across Buckets
Find files across all buckets:
- Navigate to Storage in your app.
- Click Search Files.
- Enter your search term.
- View results from all buckets.
Configuration
Bucket Fields
| Field | Description | Required |
|---|---|---|
| Name | Display name | Yes |
| Slug | Unique identifier | Auto-generated |
| Description | Purpose of bucket | No |
| Public | Public accessibility | No |
File Upload Limits
| Limit | Value |
|---|---|
| Maximum file size | 100 MB |
| Files per upload | 100 |
Accessing Files Programmatically
Files can be accessed via URLs:
# Public bucket
https://storage.taruvi.cloud/{bucket-slug}/{filename}
# Private bucket (requires auth)
https://api.taruvi.cloud/storage/{bucket-slug}/{filename}
Limits
| Resource | Limit |
|---|---|
| Buckets per app | 20 |
| Files per bucket | 10,000 |
| Storage quota | Varies by plan |
| File size | 100 MB |
Need higher limits? Contact support to discuss your requirements.
Troubleshooting
Upload fails
Problem: File upload fails with an error.
Solution:
- Check the file size is under 100 MB.
- Verify you have sufficient storage quota.
- Ensure the file type isn't blocked.
- Try a different browser or network.
File not accessible
Problem: Cannot access a file URL.
Solution:
- Verify the bucket is public (for public URLs).
- Check the file path is correct.
- Ensure the file hasn't been deleted.
- Verify authentication for private buckets.
Storage quota exceeded
Problem: Cannot upload because storage is full.
Solution:
- Delete unused files.
- Delete old or temporary files.
- Upgrade your plan for more storage.
- Contact support for temporary increase.
Related
Last Updated: January 2025