Problems accessing wikis after a restore

I have reinstalled xwiki with postgresql on a new server and after installing it, I updated the xwiki DB with the original data and copied everything under /var/lib/xwiki/data/storage from the original system. I don’t even see the wiki’s which I had originally! How do I restore xwiki files and database to a newly installed system?

I read restored everything under /var/lib/xwiki/data, restored the xwiki postgress database, restored under /usr/lib/xwiki:

hibernate.cfg.xml
xwiki.cfg
xwiki.properties
observation/*

I now see some errors loading extensions which I had previously but have not loaded now. I would expect to be able to see my original wiki’s in the “wiki index”, but I see no mention of them. Perhaps I really MUST have all of the extensions loaded or they fail anyway? I’ll try loading them.

I also see mentions of my previous wiki pages in the history but when I click on them it says it can’t find them!

After learning about the internals of how xwiki stores information inside the postgres database, it looks to me as though the problem here is that the original database came from the system “peacock.place” and the newly restored database was put onto a system named “test.peacock.place”. Since the full original URL is actually stored inside the database, it would seem that maybe you can’t simply restore an xwiki database to a different system name and have it work. (Just a guess.)

At any rate, since I found the solution to my original problem of accessing the restored database on the original system (posted on this forum), this particular problem is a non-issue.