QOTD: How do you back up your files?

I asked this one almost a year ago and I started using Restic shortly after that. When I started, I was only backing up my home folder to the repository over NFS. Now, I’m backing up the entire root filesystem to a repository using the REST backend so I can run Restic as root without breaking the permissions.

I’m working on automating it now and I’m trying to come up with something using pinentry but my proof-of-concept is getting pretty obtuse. It will be spread out in a shell script, of course, but still.

systemd-inhibit --what=handle-lid-switch restic --password-command='su -c "printf '"'"'GETPIN\n\'"'"' | WAYLAND_DISPLAY=wayland-1 pinentry-qt5 | grep ^D | sed '"'"'s/^D //'"'"'" mckinley' --repository-file /root/restic-repo backup --exclude-file /root/restic-excludes --exclude-caches --one-file-system /

I’m curious to see how everyone’s backup solutions have changed since last year.

⤋ Read More

Went out in the cold and noticed that taking photos half an hour on top of the drafty summit is not the very best idea. Not suprising that I freeze if there is snow. Gloves would have been actually great, I only wore my beanie. But it was a very good afternoon and evening. Looking at the snowmen, there must have been heaps of snow on the ground earlier this day.

I came across several different birds and two deer. 36-38 shows the same one, one meadow further, another deer jumped across the road. That was cool.

The focus often wanted to do its own thing, unfortunately. 25 shows the flatness of the Kaiserbergsteige (literally “Emperor Mountain Steep Road”).

Image

https://lyse.isobeef.org/waldspaziergang-2024-04-21/

⤋ Read More
In-reply-to » Oh, you finally did implement multithreading, @movq. Cool, cool. :-) https://www.uninformativ.de/blog/postings/2024-04-21/0/POSTING-en.html Just in case you want to keep working on PMdusage, my suggestion for a future upgrade is to make the scan abortable. 8-) By the way, what does "PM" in "PMdusage" stand for?

@movq@www.uninformativ.de Vobis doesn’t ring a bell. I looked them up, but still nope.

Yeah, HDDs aren’t the fastest things in the world. :-)

⤋ Read More
In-reply-to » Oh, you finally did implement multithreading, @movq. Cool, cool. :-) https://www.uninformativ.de/blog/postings/2024-04-21/0/POSTING-en.html Just in case you want to keep working on PMdusage, my suggestion for a future upgrade is to make the scan abortable. 8-) By the way, what does "PM" in "PMdusage" stand for?

@lyse@lyse.isobeef.org Goes to show how arcane that system has become. 🥴 I saw in another video today that Microsoft Office used names like PMWord and PMExcel.

There was a time when Vobis (you remember them?) sold PCs with OS/2 pre-installed. Those were the days, man! 😂

It’s already very quick.

That’s because it’s not running on a hard disk but a Compact Flash card. 😅 My Warp 4 box is on an HDD and scanning directory trees takes quite some time there. 🫤 Spinning rust is crazy slow.

⤋ Read More
In-reply-to » Oh, you finally did implement multithreading, @movq. Cool, cool. :-) https://www.uninformativ.de/blog/postings/2024-04-21/0/POSTING-en.html Just in case you want to keep working on PMdusage, my suggestion for a future upgrade is to make the scan abortable. 8-) By the way, what does "PM" in "PMdusage" stand for?

@movq@www.uninformativ.de Interesting. Never came across the term presentation manager in my life, but I also never used OS/2. :-)

Yeah, stopping the scanning thread is more a learning experience than a necessity. The scanning message is hardly visible in your videos. It’s already very quick.

⤋ Read More
In-reply-to » I have been up, and ready to go for hours. Partner is still in bed. She takes such a long time to wake up on weekends! Past noon already, and we need to get food for the elders, and come back to tidy up things to get ready for the next weekly cycle.

I’m with you, @bender@twtxt.net, weekends are way too short.

⤋ Read More

I have been up, and ready to go for hours. Partner is still in bed. She takes such a long time to wake up on weekends! Past noon already, and we need to get food for the elders, and come back to tidy up things to get ready for the next weekly cycle.

Ugh! Where did the weekend go?!

⤋ Read More
In-reply-to » @prologic Your position doesn't make any sense: it's closing down and arbitrarily limiting the use of the Twtxt protocol. One more reason not to use https://twtxt.net/

@dfaria@twtxt.net well, your “original twtxt” is an example of anything, but social. It is more like an echo chamber. If I am going to follow someone, I seek interaction. Language isn’t a barrier, lack of engagement is.

⤋ Read More
In-reply-to » Been clearing out my pod a bit and blocking unwanted domains that are basically either a) just noise and/or b) are just 1-way (whose authors never reply or are otherwise unaware of the larger ecosystem)

@prologic@twtxt.net Your position doesn’t make any sense: it’s closing down and arbitrarily limiting the use of the Twtxt protocol. One more reason not to use https://twtxt.net/

⤋ Read More

Oh, you finally did implement multithreading, @movq@www.uninformativ.de. Cool, cool. :-) https://www.uninformativ.de/blog/postings/2024-04-21/0/POSTING-en.html Just in case you want to keep working on PMdusage, my suggestion for a future upgrade is to make the scan abortable. 8-) By the way, what does “PM” in “PMdusage” stand for?

Always great to see that bugs are quickly fixed.

There’s a tiny typo in the second to last paragraph: “Windows NT is something that I had no contact with…”

⤋ Read More
In-reply-to » Thanks again @movq !! I have figured things out and set up Jenny and Vim completion following your blog post! Cheers!

@aelaraji@aelaraji.com Nice, I can confirm it’s now fixed. I reckon the Content-Type: text/plain; charset=utf-8 did the trick. Something in the twtxt client must have incorrectly guessed ISO-8859-1 or something along those lines when there was no charset advertised in the response header.

⤋ Read More
In-reply-to » @bendwr and I discussing something along the lines of: Media I.e: How to deal with or reduce noise from legacy feeds.

@mckinley@twtxt.net Do you have an alternate proposal? What we want to avoid really (if possible) is the idea of “1-ay posting” or “posting to the void”. As an obvious example, the idea of syncing your Mastoon toots to Twtxt twts that you never see replies to is well umm just silly 🤣 and thus creates unwanted noise as it’s just like talking to a “brick wall” 😥

⤋ Read More
In-reply-to » Bitwarden is truly excellent. Highly recommend

I use KeePassXC because I really only use one device. I imagine it would be challenging to rsync the database around if I needed my passwords on more machines. It’s probably fine if you’re deliberate enough, but I don’t think it would take long before I’d lose a password by editing an outdated version of the repository and overwriting the main copy.

I like the simple architecture of Pass, and it would indeed lend itself well to a Git repository, but I don’t like that service names are visible on the filesystem. pass-tomb might mitigate this somewhat but it seems messy and I don’t know if it would work with Git without compromising the security of the tomb.

What’s so good about Bitwarden? Everyone seems to love it. I like that it can be self-hosted. I certainly wouldn’t want a third party in control of my password database.

⤋ Read More
In-reply-to » </> htmx - high power tools for html really liking the idea of htmx 🤔 If I don't have to learn all this complicated TypeScript/React/NPM garbage, I can just write regular SSA (Server-Side-Apps) and then progressively upgrade to SPA (Single-Page-App) using htmx hmmm 🧐

@xuu@txt.sour.is Like it’s pretty easy to use really:

prologic/go-htmx-demo: A simple Web App written in Go using htmx on the frontend to drive a single-page-app (SPA) experience. - go-htmx-demo - Mills

⤋ Read More
In-reply-to » @prologic well, I think OP mother tongue isn’t English, so certainly not an encoding I might be familiar with.

@aelaraji@aelaraji.com The only thing I’ve observed so far is your server isn’t setting a charset. e.g:

$ curl -v -o /dev/null https://twtxt.net/~prologic/twtxt.txt 2>&1 | grep 'content-type'
< content-type: text/plain; charset=utf-8

⤋ Read More
In-reply-to » @prologic well, I think OP mother tongue isn’t English, so certainly not an encoding I might be familiar with.

@prologic@twtxt.net Thank
you! and here’s a twt with the said random characters, since I’ve been
cleaning them up manually, earlier before scp-ing my twtxt.txt file. And
maybe a screenshot of how things look in my editor?

Image

Those new lines are added automatically as I type (except for the ones
after the screenshot.

⤋ Read More
In-reply-to » @bendwr and I discussing something along the lines of: Media I.e: How to deal with or reduce noise from legacy feeds.

@prologic@twtxt.net it makes absolute sense for a Yarn.social user. I propose the following formatting change:

WARNING:

You are about to follow a legacy feed, which may not have any kind of engagement. Do you want to continue?

⤋ Read More