Skip to main content

Backup / Restore using STSADM command.

Command to take Backup of a sharepoint site:
Go To :
1. \program files\common files\microsoft shared\web server extensions\12\bin.

2. Run stsadm -o backup -url -filename .
For ex: stsadm -o backup -url http://dev:8585/ -filename file://dev/filename.dat.

Command to restore backup of a sharepoint site:
1.\program files\common files\microsoft shared\web server extensions\12\bin.

2. Run stsadm -o restore-url -filename .For ex: stsadm -o restore -url http://dev:8585/ -filename file://dev/filename.dat.

3. If you want to overwrite the existing site, use -overwrite command.For ex : stsadm -o restore -url http://dev:8585/ -filename file://dev/filename.dat -overwrite.

Comments

Popular posts from this blog

Differences between Windows SharePoint Services (WSS) and Microsoft Office SharePoint Server 2007 (MOSS)

WSS is included as a part of the Windows Server 2003 whereas MOSS is a separate product.WSS doesn’t have its own licensing model, it is controlled through Windows Server licenses whereas MOSS has it own licensing model that includes both Server-Side as well as client accesses licenses. MOSS includes all the features of WSS and adds its own set of components as services. Additional features that are part of MOSS includes Collaboration Social networking web parts – Colleague Web Part, Colleague Tracking Web Part, In Common Web Part etc. Enterprise search Enterprise content sources Files shares, Web sites, SharePoint sites, Exchange Public Folders, and Lotus Notes databases, more relevant results, people search, business data search.