usefathom / fathom

Fathom Lite. Simple, privacy-focused website analytics. Built with Golang & Preact.
https://usefathom.com/
MIT License
7.55k stars 368 forks source link

Tutorial/Tips for server migration #282

Closed shreyasminocha closed 5 years ago

shreyasminocha commented 5 years ago

I want to migrate my self-hosted fathom instance to another server (and database). Any tips on how to do this?

JackEllis commented 5 years ago

We don't have a tutorial but it's super simple :)

  1. Install Fathom on new server and set it up in the same way you did on your current server
  2. Copy your SQLite file & replace the new one
  3. Copy over the .env settings too (FATHOM_SECRET especially!)

And hey presto.