I have exported a document library from Farm A as follow:-
Export-SPWeb -Identity "http://famrA/***" -ItemUrl "Our Library" -Path "c:\16.cmp" -nofilecompression -IncludeVersions All -IncludeUserSecurity -Force -Verbose
Now this command has generated a folder named 16.cmp which contain many files.
Now I moved the folder to the C drive inside FarmB. then I wanted to import the document library inside the new farm using this command:-
Import-SPWeb http://farmB/**** –Path "c:\16.cmp" -IncludeUserSecurity –Verbose
but I got this error:-
Import-SPWeb : The file c:\16.cmp does not exist.
So can anyone advice on this, please? now the Export did not create a file named 16.cmp, But it created a folder named 16.cmp ...so not sure how to fix this ??