1.Click "Start" button
2.Choose the "Microsoft SharePoint 2010 Products"
3.Click the "SharePoint 2010 Management Shell" [ run as Administrator ]
4.Create one folder in "D" Drive Named it BackupFile
BackUp Script :-
Backup-SPSite -Identity http://Abcd-pc:12121/sites/Sample/ -Path "D:\BackupFile\files.bak"
Restore Script:-
Restore-SPSite -Identity http://sithikspSite-pc:2222/sites/spsite -Path "D:\BackupFile\files.bak" -force
Here.,
http://Abcd-pc:12121/sites/Sample/ = From Site Collection url
http://sithikspSite-pc:2222/sites/spsite = To site Site Collection url
D:\BackupFile\ =BackupFolder url
files.bak = BackupfileName
2.Choose the "Microsoft SharePoint 2010 Products"
3.Click the "SharePoint 2010 Management Shell" [ run as Administrator ]
4.Create one folder in "D" Drive Named it BackupFile
BackUp Script :-
Backup-SPSite -Identity http://Abcd-pc:12121/sites/Sample/ -Path "D:\BackupFile\files.bak"
Restore Script:-
Restore-SPSite -Identity http://sithikspSite-pc:2222/sites/spsite -Path "D:\BackupFile\files.bak" -force
Here.,
http://Abcd-pc:12121/sites/Sample/ = From Site Collection url
http://sithikspSite-pc:2222/sites/spsite = To site Site Collection url
D:\BackupFile\ =BackupFolder url
files.bak = BackupfileName
No comments:
Post a Comment