http://forum.mikrotik.com/t/router-crashes-are-wiping-the-config/149189/7
At the time there were no containers, but basically you need to back up and sync:
files on device,
eSIM,
containers,
the dude database,
the dude files,
user-manager database,
user-manager files
certificates (CA for generate new certs not longer work on another router, as expected),
ssh host-key,
license,
configuration export (with sensitive!!!, do not contain user config),
user export (with sensitive still not export passwords, obviously)
binary backup (containing all except license, containers and files)
not tested if eSIM config is exported on backup and/or on export