Bash
6 pagesLocal Rsync: Automated folder mirroring with inotifywait
Local rsync driven by inotifywait offers a daemon‑less mode for automated folder mirroring on Linux. It’s well‑suited to self‑hosted services where config directories must stay synchronized with minimal overhead. Introduction and prerequisites For …
Local rsync driven by inotifywait offers a daemon‑less mode for automated folder mirroring on Linux. It’s well‑suited to self‑hosted services where config directories must stay synchronized with minimal overhead. Introduction and prerequisites For …
Backup Vaultwarden DB to S3
Vaultwarden relies on PostgreSQL to store user data. As deployment scale grows, manual database dumps become operationally risky, making automated dump and S3 backup a core operational task. 1. Preparation of compose and variables In a typical …
Vaultwarden relies on PostgreSQL to store user data. As deployment scale grows, manual database dumps become operationally risky, making automated dump and S3 backup a core operational task. 1. Preparation of compose and variables In a typical …
pg_dump from Postgres container
Lead paragraph: When you need to extract a backup from a running Postgres container without stopping the service, the standard approach is docker exec combined with pg_dump. In self-hosted environments this is often the only way to obtain a dump for …
Lead paragraph: When you need to extract a backup from a running Postgres container without stopping the service, the standard approach is docker exec combined with pg_dump. In self-hosted environments this is often the only way to obtain a dump for …
dig +short: quickly get only IP addresses
When you need a domain’s IP address without the noise of full dig output, +short is the go-to flag. It strips away headers, trailers, and extra sections, returning only the answer data—making it ideal for scripts, automation, and quick checks. Why …
When you need a domain’s IP address without the noise of full dig output, +short is the go-to flag. It strips away headers, trailers, and extra sections, returning only the answer data—making it ideal for scripts, automation, and quick checks. Why …
nftables: dynamic address list update from file without reload
nftables allows dynamic modification of address lists without reloading the entire ruleset. Using sets and nft monitor enables real-time ban-list updates, keeping services available while rules change on the fly. This note covers the minimal command …
nftables allows dynamic modification of address lists without reloading the entire ruleset. Using sets and nft monitor enables real-time ban-list updates, keeping services available while rules change on the fly. This note covers the minimal command …
Cron setup: a practical walkthrough
Cron is the standard job scheduler in Linux, found in every infrastructure. Jobs pile up, logs accumulate, and the environment breaks things. Let’s walk through how to configure cron reliably and where it falls short. When to Use Cron and When to …
Cron is the standard job scheduler in Linux, found in every infrastructure. Jobs pile up, logs accumulate, and the environment breaks things. Let’s walk through how to configure cron reliably and where it falls short. When to Use Cron and When to …