https://github.com/kanboard/plugin-database-storage
Database Object Storage Plugin
https://github.com/kanboard/plugin-database-storage
database kanboard storage storage-plugin
Last synced: 4 months ago
JSON representation
Database Object Storage Plugin
- Host: GitHub
- URL: https://github.com/kanboard/plugin-database-storage
- Owner: kanboard
- License: mit
- Created: 2016-05-15T01:57:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-13T18:29:40.000Z (over 5 years ago)
- Last Synced: 2025-04-13T09:13:35.938Z (6 months ago)
- Topics: database, kanboard, storage, storage-plugin
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 18
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Database Object Storage
=======================This plugin stores uploaded files into the database instead of using the local filesystem.
Author
------- Frederic Guillot
- License MITRequirements
------------- PHP >= 5.6
- Kanboard >= 1.2.1
- Postgres is recommended
- Mysql or SqliteWhy I should store files in the database?
-----------------------------------------Storing files in the database doesn't fit all usages.
Obviously, the database size will increase over the time if you store large files.The main benefit of doing this is to simplify backups.
Everything is in a central location and nothing is stored on the frontend servers.
PostgreSQL is preferred because streaming files is supported.Migrating old files to the database
-----------------------------------```bash
./cli db-storage:migrate
```Notes
------ Run the command `VACUUM` to free up disk space used by removed files
- With Mysql, you may need to change the value of `max_allowed_packet`, the default is 1MB