Backups
Full operating-system tar backup of a Linux server
A simple bare-bones backup: one compressed tarball of the whole root filesystem, minus the folder...
MySQL / MariaDB backups to a NAS
Dump every database to its own compressed file, keep a few days, and fail loudly when something i...
Store MySQL / MariaDB backup credentials safely
Backup scripts shouldn't contain a database password. Store the login once for the account that r...
Back up every database on several PostgreSQL versions
On RHEL, Rocky and Alma, PGDG packages let PostgreSQL 16 and 17 (for example) run side by side, e...
Set up .pgpass for PostgreSQL backups
If your backups connect over TCP or as a user other than postgres, pg_dump needs a password. Put ...
Back up an OpenProject (package install) to a NAS
The packaged OpenProject (DEB/RPM) has its own backup command. It writes a database dump plus arc...
Back up Docker app SQLite databases without stopping containers
Most self-hosted media apps (Plex, Jellyfin, Sonarr, Radarr, Lidarr, Prowlarr, Bazarr, Tautulli, ...
Back up Docker container data folders (stop, archive, restart)
For apps whose data can't be copied safely while they are running, the simple, reliable method is...
Pull server backups onto a Synology NAS with rsync over SSH
Instead of letting servers write to the NAS, have the NAS pull from them. If a server is compromi...