Removing content databases from the cache

To remove a database from the cache, specify:

--RemoveFromCache --ContentDB DatabaseName--BackupIDBackupID

To remove all the content databases from the cache, specify:

--RemoveFromCache ––All

Removing content databases from disk

To delete a content database from the disk after you have removed it from the cache, specify:

--RemoveFromCache --ContentDB DatabaseName -–DeleteFiles

Setting content database automatic removal

To display the time (number of days) a content database remains available before it is removed from the cache, specify:

--GetOption RecoveryDatabaseAutoCleanupDays

To set how long a content database remains available before it is automatically removed from the cache, specify:

--SetOption RecoveryDatabaseAutoCleanupDays --Value number_of_days

Exporting items from a content database

To export an item from a content database, specify:

--Export --Source source --Location path --Item item

To export items from a content database, specify:

--Export --Source source --Location path --Items item1 item2 item3

NOTE:

Workflows cannot be exported.

Granular Recovery Extension for Microsoft SharePoint Server

61