Tuesday, 5 May 2015

Export and import



Export-SPWeb -Identity http://alenaldev.tawazun.ae/ -path D:\ListsBackup\RequestAdminReply.cmp -ItemUrl Lists/RequestAdminReply/AllItems.aspx -NoFileCompression -IncludeUserSecurity -IncludeVersions All
Import-SPWeb -Identity http://alenaldev.tawazun.ae/ -path D:\ListsBackup\RequestAdminReply -NoFileCompression -IncludeUserSecurity -UpdateVersions Append

---------------------------------------------------------------------------------------
$2013SiteUrl = "http://alenaldev.tawazun.ae"
$siteUrl = "http://adtwtipwvsds03:88"
$FolderName = "NDA"
$ConfidentialFolderPath = "D:\ListsBackup\" + $FolderName + "Confidential";
$LocalFolderPath = "D:\ListsBackup\" + $FolderName + "Local";


$2013SiteUrl = "http://alenaldev.tawazun.ae"
$siteUrl = "http://adtwtipwvsds03:88"
$FolderName = "ConceptPaper_Team"
$LocalFolderPath = "D:\ListsBackup\" + $FolderName;



Local
-----

Export-SPWeb -Identity $siteUrl -path $LocalFolderPath -ItemUrl /lists/ConceptPaper_Team/Allitems.aspx -NoFileCompression -IncludeUserSecurity -IncludeVersions All

Import-SPWeb -Identity $2013SiteUrl  -path $LocalFolderPath -NoFileCompression -IncludeUserSecurity -UpdateVersions Append


Confidential
------------

Export-SPWeb -Identity $siteUrl -path $ConfidentialFolderPath -ItemUrl Confidential/Forms/Allitems.aspx -NoFileCompression -IncludeUserSecurity -IncludeVersions All

Import-SPWeb -Identity $2013SiteUrl -path $ConfidentialFolderPath -NoFileCompression -IncludeUserSecurity -UpdateVersions Append

$2013SiteUrl = "http://alenaldev.tawazun.ae/sites/IndustrialDevelopment"
$siteUrl = "http://adtwtipwvsds03:88/sites/ForeignAffairs"
$FolderName = "ForeignAffairs"
$ConfidentialFolderPath = "D:\ListsBackup\" + $FolderName + "Confidential";
$LocalFolderPath = "D:\ListsBackup\" + $FolderName + "Local";


$2013SiteUrl = "http://alenaldev.tawazun.ae/sites/SupportServices"
$siteUrl = "http://adtwtipwvsds03:88/sites/IT"
$FolderName = "IT"
$ConfidentialFolderPath = "D:\ListsBackup\" + $FolderName + "Confidential";
$LocalFolderPath = "D:\ListsBackup\" + $FolderName + "Local";



HRCompBen

Everyone 
OFFSET\benefits and compensation_viewer

OFFSET\benefits and compensation_owner
OFFSET\benefits and compensation_member
TAWAZUN\benefits and compensation_member
Scanning Group


ERP

Local

Folder "ER_Log_DB" - Contribute

TAWAZUN\chammond;TAWAZUN\hkodah;TAWAZUN\kting;TAWAZUN\maldhaheri;TAWAZUN\mgalmazrouei;TAWAZUN\srose;TAWAZUN\walmaamari;TAWAZUN\yjaghbir


Contribute

TAWAZUN\er policy and performance_confidential;
Twdca0054;
TAWAZUN\er policy and performance_member;
Mousa Ebraheem Al Hajeri;
Mona Saleh Al Tenaiji;
Hana Abdirahman Kodah;

TAWAZUN\human resources_confidential;
TAWAZUN\operations support unit_confidential;
workflow2





$2013SiteUrl = "http://alenaldev.tawazun.ae"
$FolderName = "Concept"
$LocalFolderPath = "D:\ListsBackup\" + $FolderName;



Local
-----

Export-SPWeb -Identity $2013SiteUrl -path $LocalFolderPath -ItemUrl /lists/ConceptPaper_Team/Allitems.aspx -NoFileCompression -IncludeUserSecurity -IncludeVersions All

Import-SPWeb -Identity $2013SiteUrl  -path $LocalFolderPath -NoFileCompression -IncludeUserSecurity -UpdateVersions Append



Import-spweb -identity <url> -path <path> -UpdateVersion overwrite

No comments:

Post a Comment