Backup and Restore SharePoint 3.0 from/to different machines
Posted on 2011-02-22
We have a production machine and a development machine. When we backup the production machine here is the command line:
stsadm -o backup -url "https://production.xyz.com" -filename "d:\sharepointBackup\portal.dat" -overwrite
Then we restore to another machine (with a different computername) like this:
-o restore -url "https://development.xyz.com" -filename "d:\sharepointBackup\portal.dat" -overwrite
This works, except that the SharePoint users have to be deleted and re-created in order to work. I think this has to do with SharePoint using user SIDs instead of only user names (?).
How do I backup from one machine and restore on the other without having to delete and re-create SharePoint users?