I meant restoring the dd backup whether that is by using dd or mounting/rsync.
The rsync command should've had the --delete flag.
I tried to understand what the --delete flag does, but not sure what would be the actual difference in this case, would you mind explaining?
Also, I managed to get the system to work almost completely by using the latest Bullseye image as macon suggested, then just had to modify fstab to match the updated partitions which worked and booted properly.
Omv now runs fine, as well as all my shares and most of my services, but my main issue is with docker that isn't running, and reinstalling doesn't seem to help.
I wonder if somehow my backup what partially corrupted somehow. For example one of my containers had this for the config.v2.json:

Others seemed ok besides this single file.
systemctl status docker -l
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/docker.service.d
└─waitAllMounts.conf
Active: failed (Result: exit-code) since Sun 2025-01-05 12:17:34 IST; 28s ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Process: 23131 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=2)
Main PID: 23131 (code=exited, status=2)
CPU: 1.188s
Jan 05 12:17:34 pi systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Jan 05 12:17:34 pi systemd[1]: Stopped Docker Application Container Engine.
Jan 05 12:17:34 pi systemd[1]: docker.service: Consumed 1.188s CPU time.
Jan 05 12:17:34 pi systemd[1]: docker.service: Start request repeated too quickly.
Jan 05 12:17:34 pi systemd[1]: docker.service: Failed with result 'exit-code'.
Jan 05 12:17:34 pi systemd[1]: Failed to start Docker Application Container Engine.
Jan 05 12:17:45 pi systemd[1]: docker.service: Start request repeated too quickly.
Jan 05 12:17:45 pi systemd[1]: docker.service: Failed with result 'exit-code'.
Jan 05 12:17:45 pi systemd[1]: Failed to start Docker Application Container Engine.
Display More
journalctl -xe
░░
░░ A start job for unit crowdsec-firewall-bouncer.service has finished successfully.
░░
░░ The job identifier is 94554.
Jan 05 16:44:12 pi sshd[73333]: Connection closed by authenticating user root 117.71.57.114 port 53132 [preauth]
Jan 05 16:44:13 pi crowdsec-firewall-bouncer[73349]: time="2025-01-05T16:44:13+02:00" level=fatal msg="process terminated >
Jan 05 16:44:13 pi systemd[1]: crowdsec-firewall-bouncer.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit crowdsec-firewall-bouncer.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jan 05 16:44:13 pi systemd[1]: crowdsec-firewall-bouncer.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit crowdsec-firewall-bouncer.service has entered the 'failed' state with result 'exit-code'.
Jan 05 16:44:13 pi systemd[1]: crowdsec-firewall-bouncer.service: Scheduled restart job, restart counter is at 29.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ Automatic restarting of the unit crowdsec-firewall-bouncer.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Jan 05 16:44:13 pi systemd[1]: Stopped The firewall bouncer for CrowdSec.
░░ Subject: A stop job for unit crowdsec-firewall-bouncer.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit crowdsec-firewall-bouncer.service has finished.
░░
░░ The job identifier is 94737 and the job result is done.
Jan 05 16:44:13 pi systemd[1]: Starting The firewall bouncer for CrowdSec...
░░ Subject: A start job for unit crowdsec-firewall-bouncer.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit crowdsec-firewall-bouncer.service has begun execution.
░░
░░ The job identifier is 94737.
Jan 05 16:44:13 pi sshd[73399]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=11>
Jan 05 16:44:16 pi sshd[73399]: Failed password for root from 117.71.57.114 port 56514 ssh2
Jan 05 16:44:17 pi sshd[73399]: Connection closed by authenticating user root 117.71.57.114 port 56514 [preauth]
Jan 05 16:44:19 pi sshd[73465]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=11
Display More
It seems like it could be somehow related to crowdsec-firewall-bouncer.service, tho not really sure why it would be related.
Do you think trying again with the --delete flag should change or improve anything?
Thanks.