How could I set environment variable for old database?

I want to change my server. I copied my data.sqlite to my new server.
How could I set environment variable for n8n to use my old data.sqlite?

You need the data.sqlite file and the encryption key, else you are not gonna be able to access the credentials you have saved in sqlite.

Create a folder with the config file (This file includes the encryption key) and the database.sqlite file in the host and mount it to /root/.n8n in the container.

Thanks
I ve done it with config file