You are on page 1of 8

PROCEDURE TO TAKE BACKUP OF

SITE AND CONTENT DATABASE


1. Steps to take back up of a site :-

1.1. Select Start Run cmd.


1.2. In command prompt type cd\
1.3. Then type cd C:\Program Files\Common Files\Microsoft Shared\web server
extensions\12\BIN
1.4. Type stsadm.exe -o backup -url <url of the site> -filename <filename for backup.dat>
1.5. Go to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN,
there you can find the .dat file i.e. The backup file of the site.
1.6. Copy that .dat file, which is the site backup file.
1.7. Go to c:\Inetpub\wwwroot\wss\VirtualDirectories
1.8. Copy the folder with your sites port number.
1.9. Go to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12
1.10. Copy Templates folder.

2. Steps to take back up of Content Database of the site :-

2.1. Select Central Administration from start menu.


2.2. Identify the content database of WSS site.
2.2.1. In central administration select Application management and select Content
Database under Sharepoint Web Application Management
2.2.2. Select our web application.
2.2.3. Identify the name of the Content Database.
2.3. Open SQL server management studio and select the Database identified in previous step.

2.4. Right click database select properties choose options select Db-read only set as False.
2.5. From properties → select path of the mdf and ldf files.
2.6. Copy both the files from above location.
2.7. This .mdf file is the content database file.

You might also like