@AMIR REZA – Thank you very much…!
trick allowed me to take backup successfully
I suppose announcement is list. So Script should be like thisÂ
Export-SPWeb -Identity http://skvsp1:35794 -ItemUrl /Lists/Ann
ouncements -Path \\skvsp1\Farm_Configuration_Backup\Announcements11Feb.cmp -C
ompressionSize 1000 -IncludeVersions All -Force -Verbose
Thanks for your reply!
below are the findings, its not allowing me to export the list
PS C:\Users\SPMaster> Export-SPWeb -Identity http://skvsp1:35794/ -ItemUrl “/Ann
ouncements” -Path “\\skvsp1\Farm_Configuration_Backup\Announcements11Feb.cmp” -C
ompressionSize 1000 -IncludeVersions All -Force -Verbose
VERBOSE: Leaving BeginProcessing Method of Export-SPWeb.
Export-SPWeb : The URL provided is invalid. Only valid URLs that are site colle
ctions or sites are allowed to be exported using stsadm.exe.
At line:1 char:13
+ Export-SPWeb <<<< -Identity http://skvsp1:35794/ -ItemUrl “/Announcements” –
Path “\\skvsp1\Farm_Configuration_Backup\Announcements11Feb.cmp” -CompressionSi
ze 1000 -IncludeVersions All -Force -Verbose
+ CategoryInfo : InvalidData: (Microsoft.Share…CmdletExportWeb:
SPCmdletExportWeb) [Export-SPWeb], SPException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletExportWe
b
VERBOSE: Leaving ProcessRecord Method of Export-SPWeb.
VERBOSE: Leaving EndProcessing Method of Export-SPWeb.
Try adding a / before “Announcements”.
So it would be: “Export-SPWeb -Identity http://skvsp1:35794/ -ItemUrl “/Announcements” -Path “\\skvsp1\Farm_Configuration_Backup\Announcements11Feb.cmp” -CompressionSize 1000 -IncludeVersions All -Force -Verbose