Backup List in Sharepoint 2010 in Shell -
Backup List in Sharepoint 2010 in Shell -
i want backup list of sharepoint 2010 using powershell.
i can backup list using central administration , can backup whole site using
export-spweb -identity http://siteurl:22222/en-us -path \\public\backup.cmp
but when seek export specific list (with path shown using central administration):
export-spweb -identity http://siteurl:22222/en-us/lists/mylist -path \\public\backup.cmp
i receive error:
"the url provided invalid. valid urls site collections or sites allowed exported using stsadm.exe"
i tried
export-spweb -identity http://siteurl:22222/en-us -path \\public\backup.cmp -itemurl
http://siteurl:22222/en-us/lists/mylist getting same error
thanks in advance
try fiddle itemurl
parameter value:
export-spweb -identity http://siteurl:22222/en-us -path \\public\backup.cmp -itemurl /lists/mylist
or
export-spweb -identity http://siteurl:22222/en-us -path \\public\backup.cmp -itemurl /en-us/lists/mylist
or
export-spweb -identity http://siteurl:22222/en-us -path \\public\backup.cmp -itemurl "/lists/mylist"
different sources show different syntax:
sharepoint 2010 granular backup-restore part 1 failing export export-spweb list sharepoint-2010 backup export
Comments
Post a Comment