Loki + Promtail + Grafana: Lightweight Log Aggregation for Small Servers

Graylog is powerful, but it is also heavy. Three services, a search index, and a chunk of RAM is a lot to ask of a small server that also runs a website. Loki takes the opposite approach: it stores logs cheaply, indexes only their labels, and leans on Grafana for the interface you already use … Baca Selengkapnya

How to Set Up Centralized Log Management with Graylog on a VPS

Logs on a small VPS start out helpful and end up everywhere. Nginx writes one file, the system writes another, the database writes a third, and when something breaks at 2 a.m., you are reading four files over SSH trying to connect the dots. Centralized log management fixes that by sending every log to one … Baca Selengkapnya

How to Restore a VPS from a Snapshot: Provider Walkthrough (Hetzner, DigitalOcean, Vultr)

An update breaks the server, the site is down, and the fix is not obvious. That is the moment a snapshot earns its keep. Restoring a VPS from a snapshot rolls the whole disk back to a known good state in minutes, with no reinstall and no guesswork. This guide explains how to restore vps … Baca Selengkapnya

Snapshot vs File-Level Backup: Which One Do You Actually Need?

Your VPS provider offers snapshots, and your backup tool offers file backups, and both claim to protect you. They protect you against different things, and mixing them up is how people lose data while believing they are safe. A snapshot is a frozen image of the whole disk at one moment. A file-level backup is … Baca Selengkapnya

Offsite Backup Strategy for a Single VPS: The 3-2-1 Rule Explained

One VPS, one disk, one copy of everything. That is how most small servers start, and it is also how most small servers lose data. An offsite backup strategy for a single vps does not need enterprise tools or a second data centre. It needs a clear rule for what gets copied, where the copies … Baca Selengkapnya

How to Back Up PostgreSQL with pg_dump and Point-in-Time Recovery Basics

PostgreSQL stores your data in a way that makes simple file copies unreliable as backups. The database files change while the server runs, so copying them by hand can produce a set you cannot start. The supported route is pg_dump, a tool that reads the database through the server itself and writes a consistent snapshot. … Baca Selengkapnya

How to Back Up MySQL Databases Automatically with mysqldump and Cron

MySQL databases change constantly, and a backup taken by hand once in a while is not a backup strategy. A shop order, a new user, a comment posted five minutes ago: all of it lives only in the database, so losing the database means losing work your visitors already did. This mysql backup with mysqldump … Baca Selengkapnya

BorgBackup Setup Guide: Deduplicated Backups on a Budget VPS

A budget VPS usually ships with a small disk, and that small disk is exactly why backups get skipped. A full copy of the server every night eats the disk in a week, so people back up nothing and hope for the best. This borgbackup setup guide takes a different route. Deduplication means BorgBackup stores … Baca Selengkapnya

restic Tutorial: Encrypted Backups to S3-Compatible Storage (2026)

A VPS without a tested backup is a server waiting for a bad day. Disks fail, updates break things, and a wrong command can wipe a directory in a second. Restic fixes the backup side of that problem with one tool: it encrypts everything before it leaves your server, deduplicates data so repeat backups stay … Baca Selengkapnya