selfoss icon indicating copy to clipboard operation
selfoss copied to clipboard

Add a selfoss CLI tool

Open jtojnar opened this issue 2 years ago • 2 comments

This introduces two commands for dumping and loading the database contents:

  • php bin/selfoss db:export path.json
  • php bin/selfoss db:import path.json

Those are useful for testing, as well as for moving data from one database backend to another.

jtojnar avatar Nov 03 '21 01:11 jtojnar

Currently, datetimes exported from SQLite cannot be imported to MySQL, we need some normalization.

jtojnar avatar Nov 03 '21 07:11 jtojnar

Deploy Preview for selfoss canceled.

Name Link
Latest commit acafe64d00dce463267e6a0bbe41d99523b9e734
Latest deploy log https://app.netlify.com/sites/selfoss/deploys/6488def05d53630008bc6a6e

netlify[bot] avatar Feb 15 '23 01:02 netlify[bot]