Backup and Restore SharePoint 3.0 from/to different machines

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?

-Geoff
LVL 4
GeoffHarperAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
KoenVostersConnect With a Mentor Commented:
You can use the stsadm -o migrateuser command
0
 
GeoffHarperAuthor Commented:
@KoenVosters:

Ok, that's helpful.  Shame on me for not RTFM.

It still doesn't answer the original question, though which, modified with the new information, is:

"How do I backup from one machine and restore on the other without having to migrate SharePoint users individually?"  I'm looking for a "migrate all" or something similar.

-Geoff

0
 
GeoffHarperAuthor Commented:
Should have been 500 to start.
0
 
GeoffHarperAuthor Commented:
I ended up using migrateuser and I wrote a program which generates a .bat file to do all of the users.  Since all our SharePoint users are configured for PKI, I get my list from there.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.