0% found this document useful (0 votes)
11 views2 pages

BackUp and Restore Sharepoint Sites

This document provides information on backing up and restoring sites in SharePoint using stsadm.exe and smigrate.exe. Key points include: - Use smigrate.exe to move sites instead of restoring. - Sites cannot be restored if duplicate names exist. - Appropriate language packs must be installed for restoration. - Account creation mode settings must match between source and destination sites. - Commands like stsadm.exe -o backup and stsadm.exe -o restore are used along with options like -url, -filename, and -overwrite.

Uploaded by

Marcelo Cáceres
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

BackUp and Restore Sharepoint Sites

This document provides information on backing up and restoring sites in SharePoint using stsadm.exe and smigrate.exe. Key points include: - Use smigrate.exe to move sites instead of restoring. - Sites cannot be restored if duplicate names exist. - Appropriate language packs must be installed for restoration. - Account creation mode settings must match between source and destination sites. - Commands like stsadm.exe -o backup and stsadm.exe -o restore are used along with options like -url, -filename, and -overwrite.

Uploaded by

Marcelo Cáceres
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Back-up & Restore with stsadm.

exe
C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN

Consideraciones:
 If you want to move a site, use the Microsoft SharePoint Migration Tool
(smigrate.exe) instead. For more information, see Migrating and Upgrading Web
Sites.
 Sites with duplicate names cannot not be restored
 You must have the appropriate language packs installed to successfully restore a
site.
 Active Directory account creation mode
o When restoring a site that was running in Active Directory account
creation mode, the destination site must also be running in Active
Directory account creation mode. Further, you cannot restore a site that
was not running in Active Directory account creation mode to a server
that is running in Active Directory account creation mode.
o make sure that you specify the -deleteusers false option on the
stsadm.exe command line or users from both sites will be deleted from
Active Directory service. For example: stsadm –o deletesites –
deleteusers false

Enumeración de sitios:
 stsadm.exe -o enumsites -url <url> (enumerar sitios en la url)

Backup:
 stsadm.exe -o backup -url http://server_name/site -filename
backup.dat

Restore:
 Note In order for the restore operation to work correctly, the included and
excluded paths for your virtual server must be configured properly. If you are
restoring a site to a new site, be sure to create an included path for the site, if
necessary, before restoring the site.
 To restore a site from a backup file, either to a new site or a separate server, you
would use syntax similar to the following:
o stsadm.exe -o restore -url http://server_name/site -filename backup.dat
 To restore a site from a backup file on a server share, and to overwrite any
existing site at the new location, you would use syntax similar to the following:
o stsadm.exe -o restore -url http://server_name/site -filename \\share\
folder\backup.dat -overwrite

Comandos usados para restaurar:


cd C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\
BIN
C:\Archivos de programa\Archivos comunes\Microsoft Shared\web server
extensions\60\BIN
stsadm.exe -o restore -url http://wanderers:81/pruebita/ -filename
backupCertificados.dat –overwrite
smigrate -r -w http://srv-build:201 -f c:\backupCertificadosSmigrate.fwp

Comandos usados para backup:


smigrate.exe -w http://certificados –f backupCertificados01jun06.fwp -u
wanderers\administrator -pw cacique91
stsadm.exe -o backup -url http://certificados -f backupCertificados01jun06.dat

You might also like