-
Hi, I've been using actively inventree at work for a couple weeks now and loving it so far, the initial installation i.e. the one we're currently using is running on docker on my windows laptop but since my computer is under heavy use and not always available i want to migrate everything to a pc running docker on linux that will host the inventory and other serivices. I read on the docs that migration of the database is possible by exporting a .json file and then importing it back on the new installation but i would like to know if this means than only data about the parts can be transferred, what about the product images? supplier/manufacturer information and image? and what about the users and configurations like that. From my laptop i've loaded some company logos and also some parts images and i know that those are stored in my persistent data folder because i can see them on there, but i'm not sure about images that other users loaded because those i can't see locally. Is there a way to migrate as much data/images/configurations as possible? I can think of a combination of copying the persistent data folder + .json importing but since the persistent data folder has only the things i've added i want to be sure of how this could work or what are my options to make the migration as smooth as possible without data loss. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Hi there @isa-tt ! |
Beta Was this translation helpful? Give feedback.
Hi there @isa-tt !
The commands described here export everything in the database:. You then just need to copy the resulting file, your persistent folder and your secrets.txt and config.yaml to the new host. Import the data and you should be up and running again.