3 ms·
My physical server: Podman Pods (which contains PostgreSQL database and the app) all running in localhost on ports > 5000 and Caddy running on 443 as reverse p
by arun-mani-j 3y ago
My physical server:
Podman Pods (which contains PostgreSQL database and the app) all running in localhost on ports > 5000 and Caddy running on 443 as reverse proxy.
I use systemd Timer to dump all the databases at 4:55 PM in a directory.
Then there is DejaDup [1] which automatically backs up $HOME (with no cache files of course) at 5 PM daily to external HDD. This backup includes the database dumps.
The OS is Debian with GNOME Core [2] and a firewalld rule to allow only 80, 443 and a customized SSH port. The SSH is key based with no password auth.
The most boring way but it just works :D
1 - https://flathub.org/apps/org.gnome.DejaDup https://flathub.org/apps/org.gnome.DejaDup
2 - https://packages.debian.org/bookworm/gnome-core https://packages.debian.org/bookworm/gnome-core
- reidrac 3y agoOut of curiosity, why do you run Gnome on your sever?
- arun-mani-j 3y agoOkay here "my" means the University server I maintain :) GUI is needed because the office staff doesn't know SSH or CLI or Linux at all ^^ (She liked GNOME once I showed it to her tho)
- AlexITC 3y agoAny reason to use systemd timers instead of cron jobs?
- casey2 3y agoExactly 1. Job security.