Better check, you definitely already have a firewall running since docker needs it for NAT. A fresh debian has, as far as I know nftables and iptables-nft installed.
redxef
What firewall are you using? Docker doesn't like non-iptables firewalls and it has been more than once that I changed my nftables config and really the whole networking stack to figure that out. I have a ubuntu server vm which had some iptables save-restore unit activated which was messing with my rules, that was fun to debug.
You could install qemu-user and register it in binfmt in the vm, that lets you run programs for other architectures.
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.
If someone comes to me I'm more than happy to answer questions and help, but I won't bring it up. People don't like being told that their tool of choice is "bad" "not optimal" or anything like that. Even if it's only their choice because they grew up with it or don't want to learn anything new. And they still need to learn if it's more than browsing the web.
Also I really don't want to be the one they come running to once something doesn't work the way they expected - or not at all. I don't have the time nor the inclination to be tech support for my family and half of my friends.