How to Backup and Restore SharePoint2010/2007 in command
In sharepoint 2010/2007 it have functions backup&Restore in central admin by default. Today I teaching you use command backup and restore sharepoint.
Example : I have site collection name http://windowsclever.com
1. Open cmd and type path in your sharepoint
Sharepoint 2010
By defualt path backup
Example : I have site collection name http://windowsclever.com
1. Open cmd and type path in your sharepoint
Sharepoint 2010
By defualt path backup
C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN
Sharepoint 2007
By defualt path backup
By defualt path backup
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
Backup Sharepoint
After you coming path C:\Program Files\Common Files\Microsoft Shared\web server extensions\xx\BIN \
you type > stsadm –o backup –url http://windowsclever.com –filename C:\Backup_2010.dat and ENTER
After you coming path C:\Program Files\Common Files\Microsoft Shared\web server extensions\xx\BIN \
you type > stsadm –o backup –url http://windowsclever.com –filename C:\Backup_2010.dat and ENTER
Description : stsadm –o backup –url <site portal> -filename <locations keep data>
<site portal> : site collections your backup.
<locations keep data> : UNC path you keep file .dat
Restore Sharepoint
After you coming path C:\Program Files\Common Files\Microsoft Shared\web server extensions\xx\BIN \
you type > stsadm –o restore –url http://windowsclever.com –filename C:\Backup_2010.dat -overwrite and ENTER
Description : stsadm –o restore –url <site portal> -filename <locations keep data> -overwrite
<site portal> : site collections your restore.
<locations keep data> : UNC path you keep file .dat
In command backup SharePoint filename.dat it include all content your website sharepoint 2010/2007 .
No comments:
Post a Comment