0

I have a sitecollection with list name "XYZ" and 5million records , I exported the list using the PS command . How to import the backed up sharepoint list"XYZ" under the same site collection : Command not working : Import-SPWeb -Identity https://site.com/Conssstsdd -path C:\nikhil\backup.cmp .

Something like this:Is there a way to duplicate or copy a list into the same site

9
  • what are the export command you use?
    – Waqas Sarwar MVP
    Commented Jul 30, 2014 at 20:56
  • Export-SPWeb site.com/Conssstsdd/abc -ItemUrl "/abc/Lists/ListName" -Path "C:\nikhil\backup.cmp"
    – Nikhil J
    Commented Jul 30, 2014 at 20:59
  • try this one Export-SPWeb site -Path "C:\nikhil\backup.cmp"
    – Waqas Sarwar MVP
    Commented Jul 30, 2014 at 21:02
  • Dont you think this will backup the entire site instead of only the list ?
    – Nikhil J
    Commented Jul 30, 2014 at 21:11
  • what you want, which backup you want List, Site or Site collection?
    – Waqas Sarwar MVP
    Commented Jul 30, 2014 at 21:13

1 Answer 1

0

If you are wanting to import the list under the same site with the same name you can use -force which forcefully overwrites if it already exists.

NB. This will overwrite what is currently there.

2
  • No ways , i dont want to overwrite the existing list . i want a copy .
    – Nikhil J
    Commented Jul 31, 2014 at 16:33
  • Ok, it wasn't clear above. Take a look at this powershell script looks like it will do what you require link I think the import-spweb may be failing due to the amount of content<?>
    – mrjims
    Commented Aug 1, 2014 at 7:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.