Copying umbraco
# help-with-umbraco
k
On an internal server i have deployed a website with umbraco 14.1; after filling it with a bit of content i made a copy on an external server. I've copied all the files + database. After that i changed the connection string to the copied database. When i open the new umbraco there is no content at all? How do i copy content from 1 umbraco to another?
k
That should have worked. Can you try deleting the TEMP folder(s) on the copy, and then rebuilding the caches and indices in Settings?
k
in the umbraco/data folder? which other temp folders are there?
could it be a rights issue?
on the right you see the copy but it seems to be missing the templates
k
No, that's probably the only one. Index files, thumbnails etc
Strange. Is there anything in the startup log?
there is a lot in the log :p anything specific it should be looking at?
do you know why my templates folder is empty in the user interface (Settings)? because the files are on the server and for stylesheets it is working fine
k
The templates shown in the UI are not read from disk, they're read from the database. I can't really say what could be wrong. If there are no errors in the log, it sounds like the copy needs to be refreshed somehow. We've done what you've done many times to create test environments from production environments, so it should work.
k
i think i found the problem; umbraco has created all new tables with the prefix of the database user name
any idea why it would do that? is that a setting somewhere?
h
Your SQL user needs to have the dB owner role
k
thnx it all works now 🙂 Sorry for the mistakes
m
How did you fix it D:
4 Views