Skip to main content

Copy Database

If you want to copy the data from a SQLite database into a freshly created database to ensure all the database structure is correct after upgrades.

You can run the following command from the FileFlows Servers command line interface

dotnet FileFlows.Server.dll --copy-db --src data/FileFlows.sqlite --dest data/FileFlows-new.sqlite

If this command works successfully, you can then backup your original FileFlows.sqlite file and replace it with the new database you created.

--src

This needs to be the file of the source database you are copying the data from

--dest

This is the new database file that will be created with the data copied over.