Solved

Backup and Restore SharePoint 3.0 from/to different machines

Posted on 2011-02-22
4
300 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 500 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

679 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