When the url parameter is used, a restoration of the site collection is performed. However, when the restoremethod parameter is used, a restoration of an individual database, Web application, or the entire farm can be performed. If you want to overwrite an existing site collection, use the overwrite parameter.
Syntax
For site collection restore
stsadm -o restore
-url <URL name>
-filename <file name>
[-hostheaderwebapplicationurl] <Web application URL>
[-overwrite]
For catastrophic restore
stsadm -o restore
-directory <UNC path>
-restoremethod {overwrite | new}
[-backupid] <GUID from backuphistory, see stsadm -help backuphistory>
[-item] <created path from tree>
[-percentage] <integer between 1 and 100>
[-showtree]
[-suppressprompt]
[-username] <user name>
[-password] <password>
[-newdatabaseserver] <new database server name>
[-preservechangelog]
[-quiet]
No comments:
Post a Comment