Once installed you need to copy the portal data you backed up to the new ONLYOFFICE Groups installation. Take the backup you created at the above steps and copy it to the corresponding computer folders.
Now when you open the portal, all the data should be picked up automatically. If it does not happen, restart the monoserve service using the following command:
sudo service monoserve restart