I am developing my intranet portal in office and created the same environment at home even the domain name and the users I am working with.
I have taken the backup of site collection through central admin (dont remember if I have selected with security or without) but I did and it created a .bak file.
Later I came home and I went into central admin, created a web application and tried restoring the site using cmdlet.
Restore-SPSite -identity http://mycompany -path "D:\PortalBackup\MyCompanySiteBackup.bak"
After typing Y in Yes it started restoring...but when I tried accessing the site by http://mycompany
It's giving me unexpected error. I guess there are permission issues.
Please guide what are the steps I should take to restore site collection from one environment to another.