BackUp and Restore Sharepoint Sites
BackUp and Restore Sharepoint Sites
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