Hacker News new | ask | show | jobs
by grenran 560 days ago
> Problem is, I didn't feel like paying 9$ a month to see the amount of visitors on a website i didn't even earn anything on

You can self-host Plausible yourself if you don't feel like paying $9 a month.

1 comments

I'm doing this, is relatively easy if you are used to docker, and one instance can be used to track multiple small sites.

My problem with self hosted Plausible is that the backup-restore of the clickhouse db isn't as easy. If my service blows, I currently have to start the stats from zero.

Is it me that doesn’t see the obvious, or backing up with docker is not as easy as it could be? VM are much easier to backup for exemple.
With docker you get the DB engine, in the case of Plausible is Clickhouse, and the data is up to you (is in the Docker volumes). I needed to migrate from machine A to machine B, and while redeploying Plausible engine was a breeze, I was unable to take a full backup of the Clickhouse data, and following their docs I could only get the backup file, but was unable to restore it. Then, IIRC, I did data dumps, one per table, but some dumps loaded cleanly while others refused, losing some details. OTOH, backuping and restoring the Postgres data was as easy as it Docker wasn't involved. Sumup: the problem was not Docker or Plausible, but Clickhouse.