Showing posts with label central administration. Show all posts
Showing posts with label central administration. Show all posts

06 June, 2014

Backup Site collection, Subsite, List / Library - SharePoint 2013

Hello Guys, today I am going to share one of my interesting topics in SharePoint 2013. This is an important one that you have to be ‘aware of’ as it belongs to recovery model. Yes, you are absolutely right; I am talking about Backup-Restore methods in SharePoint 2013.

Microsoft SharePoint 2013 has comes up with so many enhancements and backup restore is one of them. I will try my best here to cover the backup-restore based on GUI (Graphical User Interface) and Powershell so that you will be proficient enough to work on these mentioned methods independently.

Backup Operations

Backup operations are associated with:
-Site collection
-Subsite
-List and Document Libraries

[How to take the backup of SharePoint 2013 site collection using PowerShell]

Here is the complete syntax:-
Backup-SPSite -Identity <SiteCollectionGUIDorURL> -Path <BackupFile> [-Force] [-NoSiteLock] [-UseSqlSnapshot] [-Verbose]

Backup-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bak

[How to take the backup of SharePoint 2013 subsite /List / Library using PowerShell]

Here is the complete syntax:-
Export-SPWeb http://site –Path "site export.cmp"

[LIST / LIBRARY BACKUP]
export-spweb -identity http://URLOFYOURSITE -path \\servershare\AMOL\AMYLIST.cmp -itemurl /NAMEOFYOURLIST

If you have any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you.

02 December, 2012

Add, Deploy, Remove and Delete Solutions in SharePoint 2010

What is solution package?

A solution package is a distribution package that delivers your custom SharePoint Server 2010 development work to the Web servers or the application servers in your server farm.

-Adding and Deploying Solutions in SharePoint 2010-
·         How to add solution package SharePoint 2010?
·         How to add a .WSP in SharePoint 2010?
Add solution with STSADM: stsadm.exe -o addsolution -filename yoursolutionpackage.wsp
Add solution with PowerShell: Add-SPSolution -LiteralPath <SolutionPath>
-Deploy Solution in SharePoint 2010-
·         Deploy Solution using Central Administration
·         Deploy Solution using stsadm.exe
·         Deploy Solution using PowerShell
Deploy Solution using Central Administration
·         Central Administration
·         System Settings
·         Manage farm solutions
·         Now click your solution from the list (for example, yoursolutionname.wsp).
·         Now click Deploy Solution and select the web application where you want to deploy the solution (example, http://sp-mach here), Click OK when you are done.
·         Click Deploy Solution
·         You are done with deployment.
Deploy Solution using STSADM.EXE
stsadm -o deploysolution -name yoursolutionpackagename.wsp -url http://sp-mach/ -local  -force

Here (-URL) means the web application where to deploy the solution.

Deploy Solution using PowerShell
Install-SPSolution -Identity <SolutionName> -WebApplication <URLname>
§  <SolutionName> is the name of the solution.

§  <URLname> is the URL of the Web application to which you want to deploy the imported solution.

Uninstallation and Retraction of a Solution in SharePoint 2010
Follow the steps for STSADM:

Open command prompt and navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN

Use the stsadm command = stsadm -o retractsolution -name solutionName.wsp -immediate

And then remove the wsp = stsadm -o deletesolution -name solutionName.wsp

Follow the steps for PowerShell:

Go to All Programs --Microsoft SharePoint 2010 Products --SharePoint 2010 Management Shell --Run as administrator

Uninstall-SPSolution -identity solutionName.wsp

Remove-SPSolution -identity solutionName.wsp

If you have any queries/questions regarding the above mentioned information then please let me know, Thank you.