Stefan 'stelb' Le Breton 🇪🇺🇺🇦💚

@stelb
55 Followers
179 Following
489 Posts

:antifa:🇪🇺🇺🇦💚

Sei ein Mensch.

#fckafd #fcknzs

Nerd.
try stuff, break stuff, fix stuff.
mostly DBA, but doing a lot more, Linux, docker, kubernetes, virtualization, storage, network.

githubhttps://github.com/stelb/
LinkedInhttps://www.linkedin.com/in/stefanlebreton
Pixelfedhttps://pixelfed.social/stelb
Forgejohttps://forgejo.anyops.de/AnyOps
Was die Hitze jetzt zusätzlich krass macht ist ja, dass wir grad mit die längsten Tage des Jahres haben.
Im Augutst ist es mehr als ne Stunde kürzer hell. Weniger Aufheizung, dafür mehr Abkühlung.

Die #Hitzewelle in #Frankreich trifft auch den Strommarkt: Der Energieversorger EDF musste die Leistung seiner Atomkraftwerke um 4,1 GW drosseln, weil die Flüsse zu warm wurden. Teuer, gefährlich und bei Hitze unzuverlässig: #Atomkraft ist keine Zukunftslösung. Stattdessen: 100 Prozent #Erneuerbare!

👉 https://www.n-tv.de/ticker/Weniger-Atomstrom-in-Frankreich-wegen-Hitzewelle-id31009015.html

Auswirkungen auch im EU-Ausland spürbar: Weniger Atomstrom in Frankreich wegen Hitzewelle

Wegen der Hitzewelle in Frankreich hat der Betreiber EDF die Stromproduktion seiner Atomkraftwerke deutlich gedrosselt.

ntv NACHRICHTEN
Just upgraded (finally! 😅) postgres 14 to 18 on production. And it seems to be quite a performance boost 🎉 (dev: "this (rather complex) job takes 1.5hours less than before. Nice!")
#postgres #upgrade
@ascherbaum ich bezahl schon ewig mit Girocard und rotem S mit per App. (CC geht bei meinem Dönerladen auch, aber da gibt es einen Mindestbetrag. Schnell überschritten, wenn ich wie meistens mind. 2 kaufe)

or more comfortable a bash function

sudosync() {
if [ $# -ne 2 ]; then echo "Usage: sudosync <src> <dst>"; fi
read src dst <<< "${@}"
echo rsync $src to $dst

sudo -E \
rsync -vaX \
-e "sudo -E -u $USER ssh -T -q" \
--rsync-path="sudo rsync" \
$src $dst
}

sudosync [email protected]:/fullpath/directory/ /localpath/directory/

sudo -E rsync -vaX -e "sudo -E -u $USER ssh -T -q" --rsync-path="sudo rsync" [email protected]:/full/path/directory /localpath/directory

the -E was missing on all solutions I found to pass through all environment variables. could be more specific.. I am lazy right now :D

took me some time, but..

I am consolidating my hosted servers and have to move some data.
* no shared storage
* data belongs root and I do not want to do this with this user.
* I use fido ssh keys, I have to touch the stick to verify.
* I can sudo on both servers

1. ssh-agent needs to run, agentforwarding enabled and the keys need to be loaded. (that's the more obvious part)
2. rsync parameter magic to pass authentication through sudo

#sudo #rsync #linux

Keine Angst, die wollen nur prüfen! Diese Füchse durfte ich für eine Auftraggeberin aus Hamburg zeichnen und sie wurden auch schon auf die letzten Prüf-Demo mitgenommen 😊 ❤️. 
Ich darf die Füchse weitergeben, falls ihr mit ihnen auch auf Prüf-Demos gehen wollt! (Bitte nicht verändern oder kommerziell nutzen, you know that Jazz!). Ihr könnt sie hier runterladen:

https://www.dropbox.com/scl/fi/x56zkj9w95ws3aurilknj/Pr-f-F-chse.zip?rlkey=6x0i5vndjsk1dq1u034lir206&st=5w9r7bmb&dl=0



Und hier sind die Infos für die nächste Demo: https://pruef-demos.de
@radim it's streaming replication after production is updated to 14.23 (same as standby)
🎉
@radim the plan is to go from 14 to 18, I probably could do that on the old host, but that would be the third plan and time is getting tight ;) I can update to 14.23 late afternoon and hope it's fixed. 🤞🏼
Otherwise we announced a large enough downtime to do a full copy of the data as fallback.