Skip to content

Instantly share code, notes, and snippets.

@ruibeard
ruibeard / plausible-analytics-migration-restore.md
Last active March 16, 2025 06:50
Plausible Analytics CE Backup and Restore

Plausible Analytics CE Docker Backup and Restore: Migrate and Transfer Data to a New Server

Warning

This is not an official guide. This is a guide I created to transfer the data from one server to another. I'm not sure if this is the correct way to do it. Please use this guide at your own risk.

This guide provides a concise set of instructions to backup your Plausible Analytics CE Docker containers, migrate / move the data, and restore it on a new Ubuntu server. By following these steps, you can easily transfer your Plausible Analytics CE setup to a different server while preserving your valuable analytics data.

Compatible with:

  • Ubuntu 22.04.2 LTS
  • Plausible Analytics CE v2.0 (plausible/analytics:v2.0)
@ruibeard
ruibeard / lemp-install.sh
Last active February 19, 2021 20:25
Shell Script to Install Laravel on Digital Ocean Droplet LEMP Ubuntu 20.4
#!/bin/bash
echo "type your domain ex: subdomain.domain.com "
echo "if you type 'example.com', a folder '/var/www/example.com' will be created "
read PROJECT_NAME
echo "type database name "
read DB_DATABASE
echo "type db user "
read DB_USERNAME
echo "type db pass "
read DB_PASSWORD