Skip to content

kanboard/plugin-database-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database Object Storage

This plugin stores uploaded files into the database instead of using the local filesystem.

Author

  • Frederic Guillot
  • License MIT

Requirements

  • PHP >= 5.6
  • Kanboard >= 1.2.1
  • Postgres is recommended
  • Mysql or Sqlite

Why 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

./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