Removing restore jobs

To delete all the restore job statuses, specify:

--DeleteAllJobs Confirm

To delete a specific restore job, specify:

--DeleteJob=JobID

Recovering a site item to the original site

Suppose you want to recover the site item /Shared Documents/Document.txt that was backed up from the site http://computer.company.com:25884/sites/AnikyB. Suppose the recovery site is http://computer.company.com:38000/sites/AnikyB. To recover the item to the original location, specify:

--Recover

--Source http://computer.company.com:38000/sites/AnikyB --Destination http://computer.company.com:25884/sites/AnikyB --TempLocation="C:\Recovery"

--Items "/Shared Documents/Document.txt"

The recovery session finishes and the following message is displayed:

recovery ended, object status:

object: [/Shared Documents/Document.txt]

destination: [/Shared Documents/Document_MOSSGR_24032010-024302.txt]

status: Finished

status details: [recovered to [http://computer.company.com: 25884/sites/AnikyB//Shared Documents]]

Recovering a site item to another location

To recover the site item "/Shared Documents/Document.txt" to My Documents, specify:

--Recover

--Source http://computer.company.com:38000/sites/AnikyB --Destination http://computer.company.com:25884/sites/AnikyB --TempLocation="C:\Recovery"

--Items "/Shared Documents/Document.txt:/My Documents"

60

Command line reference