I recently made a post discussing my move to Linux on Fedora, and it’s been going great. But today I think I have now become truly part of this community. I ran a command that borked my bootloader and had to do a fresh install. Learned my lesson with modifying the bootloader without first doing thorough investigation lol.
Fortunately I kept my /home on its own partition, so this shouldn’t be too bad to get back up and running as desired.

  • KISSmyOS@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    11 months ago

    A Clone of an OS install is not needed anymore, for a jillion reasons.

    If my SSD decides to suddenly quit, I can get back all my personal files and configs, plus all the software I had installed with all configurations, configured repositories, user rights and group memberships, GUI customizations, system-wide fonts, .desktop-files, root .bashrc, self-compiled software, etc. etc. by popping in a new SSD and dding my full disk image backup to it with one terminal command.

    I fail to see how that is not a nice thing to have even today, or how I would get back to the previous state just as fast without it.

    • deepdive@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      11 months ago

      Heyha ! Read about dd on makeuseof after reading your post, to see how it works.

      Restoring from an image seems exactly what I was looking for as a full backup restore.

      However this kind of 1 command backup isn’t going to work on databases (mariadb, mysql…). How should I procede with my home directory where all my containers live and most of them having running databases?

      Does it work with logical volumes? Is it possible to copy evrything except /home of the logical volumes?