redxef

@redxef@feddit.de

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?

Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front...

redxef,

Is anything keeping you from just reinstalling the system and mounting your home into it again (maybe the majority of your customisations live in /home too)? I feel that is a lot less of a hassle than copying files around.

In principle you should be able to restore your system by just copying all of the relevant files from the backup to their correct partitions - it can’t really get any worse if it doesn’t work.

For the future: A backup is only any good if you know how to restore it and tested that that actually works.

Regarding the permissions: If you do a cp fileA.txt fileB.txt fileB.txt will normally be owned by the creating user. So a sudo cp … will create the files as root.

I would personally use rsync with a few additional options, archive among them. This way the fs is restored exactly as it was. But that doesn’t make a whole lot of sense if the files weren’t copied that way too.

redxef, (edited )

Important question, do they mean

  1. 63V_Earth <= V_Uranus, 64V_Earth > V_Uranus

or

  1. They actually considered sphere packing and thus 64V_Earth <= V_Uranus
redxef,

Nouveau is stable and runs, but don’t expect the best performance. The official NVIDIA driver is unstable, lacks proper wayland support but has decent performance. I’d go with anything but a NVIDIA GPU.

redxef,

OVH. With existing certbot integrations, a well documented API and not being too expensive I'm quiet happy with it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #