[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

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
0
GeoffHarper
Asked:
GeoffHarper
  • 3
1 Solution
 
KoenVostersCommented:
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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now