Hello Lemmy people,
I’m trying to wrap my head around where editable files ultimately ‘live’ after Ansible install to a VPS.
For example:
I realize these are noob questions.
Thank you for your patience.
Lemmy looks really cool.
Everything about Lemmy; bugs, gripes, praises, and advocacy.
For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.
The ansible install just installs lemmy via docker-compose. All your files will be stored in,
/srv/lemmy/DOMAINNAME
The database files and pictures are stored in In a folder called Volumes.
To move lemmy you can just move that volumes directory. If you change domain names you’ll have to run some scripts on your data. I do this to run a production db locally. Changing all the references to the domain name to
0.0.0.0
or what ever the new domain name isThank you for the reply.
To ensure I understand:
Ansible installs lemmy on the VPS via docker-compose. The directory “/srv/lemmy/DOMAINNAME” lives on the VPS.
Within that directory is a folder called “Volumes”.
To migrate - I make a fresh Lemmy install on a new VPS, modify config, and move the “Volumes” folder from VPS1 to VPS2.
Is that correct?
Yeah that sounds right. If you run into any problems just ask here and someone will answer.
Cool, thank you again.