Recover calendars and saved passwords of a user who no longer exists

Is it possible to recover the calendars and saved passwords of a user who no longer exists?
the user was an ldap user. Due to a malfunction I had to recreate it without. I recovered the files manually by moving them from the old folder to the new one, but the calendar and password manager data are saved in the database and I don’t know how to access them or how to possibly “transfer” them.

Regarding calendars and addressbooks: calcardbackup is able to recover calendars and addressbooks, as long as the data is still in the database.

EDIT: there is also an occ-command to move a calendar from one user to another. This example moves the calender personal from user dennis to user sabine (I don’t know though whether that will work, if a user no longer exists):

sudo -u www-data php occ dav:move-calendar personal dennis sabine

See: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#dav-commands