The UGreen NAS runs some type of custom debian OS underneath the hood. Before I totally mess it up by installing my own stuff on it, I wanted to make sure I could restore to a workable state at a later point. On various user groups, people suggested just buying a second NVME to use with other OS's, however, another option is to just make an image of the NVME and in the worst case, just restore to that. Here's the steps I used for that (assumes you have SSH access already setup).
We're interested in the NVME (with all of it's partitions, so we're going to use pci-0000:55:00.0-nvme-1)sudo dd if=/dev/disk/by-path/pci-0000:55:00.0-nvme-1 of=/home/jason/nvme-backup.img status=progressThen if the worst happens and we want to restore, we just do a reverse of that and swap the if and of params.
I've had a GitHub profile stats card for a while now, but I was never fully happy with it. The existing tools each had trade-offs that bugged me, so I ended up building my own by combining the best parts of three different projects. Here's how it went. The Problem There are a few popular projects fo...