Skip to content

kanboard/plugin-database-storage

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
April 4, 2020 21:39
June 13, 2020 11:28
May 14, 2016 22:00
May 14, 2016 22:00
May 14, 2016 22:00
May 14, 2016 22:00
May 14, 2016 22:00
June 13, 2020 11:28
April 4, 2020 21:39

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