Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Backup and Restore SharePoint 3.0 from/to different machines

Posted on 2011-02-22
4
Medium Priority
?
306 Views
Last Modified: 2012-05-11
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
Comment
Question by:GeoffHarper
  • 3
4 Comments
 
LVL 14

Accepted Solution

by:
KoenVosters earned 2000 total points
ID: 34953949
You can use the stsadm -o migrateuser command
0
 
LVL 4

Author Comment

by:GeoffHarper
ID: 34955036
@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
 
LVL 4

Author Comment

by:GeoffHarper
ID: 35298014
Should have been 500 to start.
0
 
LVL 4

Author Closing Comment

by:GeoffHarper
ID: 35345616
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
This collection of functions covers all the normal rounding methods of just about any numeric value.
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question