Edit: I was able to recover my partitions by creating new partition starting and ending with same exact sectors.

I was copying files from my previous installation to my new Gentoo installation. After I was done. I ran wipefs on /dev/nvme0n1 thinking it is my old nvme drive which is connected through usb. I am in disbelief. Lost all of my configuration files. My perfect installation of gentoo. Just gone. How do I never make such mistake again? Thankfully I had backup of passwords file. Rest is gone. I am sad.

  • harsh3466@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    23 hours ago

    I use gnu stow and my self hosted got forge to manage and back up my config files. With a 3-2-1 backup strategy on the gitforge of three copies, at least two mediums, with one offsite.