As specified in the documentation, I did a chef-server-ctl backup and then a chef-server-ctl restore /path/to/backup -c in a new server.
The restore process completed with the following errors: https://pastebin.com/ysUkX6ZS
I think all of these errors are due to existing records already in the database after a Chef install.
At the end, I can communicate with the new server using knife and I see the nodes and users.
Is it safe to ignore these errors or is there a missing step in the restore process as explained in the documentation?