>>53374229>Never leave your Pokemon on anything but a Pokemon game.The smart call is to divide your collection into multiple locations covering both hardware you own and the cloud, keeping at least one system stored away in a safe place.
For example, after getting a rare Pokémon/ball combination, I breed it and leave a copy on my Switch Lite which is generally stored when not in use. I also have my DS and 3DS games in multiple locations in my house.
Not a perfect system, but certainly better than putting everything on one point of failure.