Backup with pg_dump and Restore One Database
Dump one PostgreSQL database in custom format, store it off the data disk, and restore it with pg_restore into a clean target cluster safely.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
599 articles · 24 topics
Dump one PostgreSQL database in custom format, store it off the data disk, and restore it with pg_restore into a clean target cluster safely.
Set PHP file ownership so a deploy user ships code, www-data can read it, and only storage, cache, and upload directories stay group-writable on the VPS.
EPEL adds thousands of community packages to RHEL-family servers. Enable it right: base-repo priorities and package exclusions keep the layering deterministic.
Automate static site builds and GitHub Pages deploys with configure-pages, upload-pages-artifact and deploy-pages actions in a single workflow.
Cache static assets and API answers at the proxy with stale-while-revalidate so a slow or broken upstream never becomes a slow user experience.
Keep local sendmail and cron working, but hand the public hop to SES, Mailgun, or Postmark. Postfix sasl_passwd and smtp_tls are the whole design.
Publish a laptop or lab port through a Lucknow VPS with ssh -R, bind it on localhost, and keep the tunnel alive without opening the lab to the internet.
Bind a local 7B to loopback, cap RAM and threads with systemd, and let only your app call it so private prompts never leave a Lucknow VPS host.
SQLite B-tree indexes match left-most prefixes, so LIKE with a leading percent cannot seek; use suffix indexes, FTS, or a stored reverse column.
Compare HTTP-01 and DNS-01 ACME challenges, pick the one that fits nginx on a VPS versus wildcards, and avoid the common failure modes of each.
Pull a docs repo, chunk the diff, embed new blobs, and upsert by path so your local VPS RAG index tracks git instead of a full nightly rebuild.
Compare classic cron with systemd timers for scheduling recurring jobs, and learn when each fits better.