The built-in backup and restore functionality is currently outdated and not recommended for use.
Instead, copy the /data directory in the Uptime Kuma installation directory to the new installation of Uptime Kuma.
/data