Server Intellect

Backup Configuration of SharePoint Services 3.0

Category: Software

Backup Configuration of Windows SharePoint Services 3.0

Overview
After you have installed and created your WSS Site databases and site collections you will need to ensure the proper backups are in place for disaster recovery.

We moved our web sites to Server Intellect and have found them to be incredibly professional. Their setup is very easy and we were up and running in no time.

Configure Backups

  • Step 1: Install Microsoft SQL Server® 2005 add-ons to run backup scripts for SQL Server 2005 Compact Edition.
  • Step 2: Copy backup support files.
  • Step 3: Edit backup script.
  • Step 4: Create SharePoint backup user account.
  • Step 5: Create backup job scheduled task.
  • Step 6: Test backup job.
  • Step 7: Add database and site collection backups to customer backup application.

Configure Backups
This backup routine is provided to back up the WSS Starter Site databases and site collection to disk. This backup runs nightly and overwrites each backup weekly. The SharePointBackups directory should then be backed up as part of the regular backup routine.

A third-party backup application may be more desirable for automated reporting and monitoring on backup status.

Step 1: Install SQL Server 2005 add-ons to run backup scripts for SQL Server 2005 Compact Edition.

Download the SQL Server 2005 Native Client and SQL Server 2005 Command Line Query Utility from this location: http://go.microsoft.com/fwlink/?LinkID=87020

  • Install the SQL Server 2005 Native Client (approximately 3.5 MB download).
  • Install the SQL Server Command Line Query Utility (approximately 2.5 MB download).

Step 2: Copy backup support files.

Need help with Windows Dedicated Hosting? Try Server Intellect. I'm a happy customer!

Copy the file named SharePointBackups.exe which is a self extracting zip file. This zip file will create a file structure that contains the backup script, a storage location for database backups, and a storage location for site collection backups. Before continuing, locate a partition that has at least 1 GB of available space. This will be the drive letter used in step 1 below to unzip the SharePointBackups.exe file.

Folder Structure Description:

  • BackupScript: This is the location of the VBScript file used by the task scheduler to back up your databases and site collection.
  • Databases: This is the location where SQL Server database backups are saved.
  • Site Collections: This is the location where site collection backups are saved.
  • Double-click the SharePointBackups.exe file to start the self extractor. (Figure 2.1)
1
Figure 2.1
  • In the Unzip to folder box, change the drive letter to the location on the server you would like your backups to reside.
  • Click Unzip.
  • You will now have a folder structure created for your backups. (Figure 2.2)

I just signed up at Server Intellect and couldn't be more pleased with my Windows Server! Check it out and see for yourself.

2
Figure 2.2

Step 3: Edit backup script.

In this step, we will edit the backup script parameters for the names and locations of the WSS Starter Site, Content Database, Configuration Database, Site Collection backup location, and Database backup location.

Open VBScript for editing

  • Open Windows Explorer and browse to the location where you extracted the SharePointBackups.zip file.
  • Open the SharePointBackups\BackupScript directory.
  • Right-click on the wss30backup.vbs file and choose Edit.
  • Scroll down to the section with the following text:
'----------------------------------------------------------------------
'Only modify the following 5 parameters below:
SiteName = "http://hostname.mydomain.com"
ContentDB = "WSS_content_sitename"
ConfigDB = "SharePoint_Config_biglongGUIDgoesHERE"
SiteCollectionBackupFolder = "E:\SharepointBackups\WSS3\SiteCollections\"
DatabaseBackupFolder = "E:\SharepointBackups\WSS3\Databases\"
'---------------------------------------------------------------------

Server Intellect offers Windows Hosting Dedicated Servers at affordable prices. I'm very pleased!

Note: When editing, make sure each parameter has quotes around it.

SiteName Parameter

  • In the SiteName = parameter, replace hostname.mydomain.com with your site’s URL. In this WSS Starter Site example it would be “http://sharepoint”.
  • Leave script file open for editing and continue.

ContentDB Parameter

  • From the Start button, choose Administrative Tools and then SharePoint 3.0 Central Administration.
  • Click on the Application Management tab.
  • In the SharePoint Web Application Management section, click on content databases.
3
Figure 3.1
  • Make sure your WSS site is selected in the Web Application drop-down list. (Figure 3.2)
4 
 

Try Server Intellect for Windows Server Hosting. Quality and Quantity!


Figure 3.2
  • Highlight the name of your Content Database, right-click, and choose Copy.
  • Go back to the VBScript you have open for editing and locate the ContentDB = parameter. Highlight WSS_Content_Sitename, right-click on it and choose Paste to replace it with the name or your Content Database. In Figure 3.2, the database name is WSS_Content_StarterSite, so the parameter would be: ContentDB = "WSS_content_StarterSite" (not case sensitive).
  • Leave script file open for editing and continue.

ConfigDB Parameter

  • In SharePoint 3.0 Central Administration, click on the Operations tab.
  • In the Topology and Services section, click on Servers in farm.
5
Figure 3.3
  • Highlight the name of your Configuration database, right-click, and choose Copy. (Figure 3.4)
6
 
 

Server Intellect assists companies of all sizes with their hosting needs by offering fully configured server solutions coupled with proactive server management services. Server Intellect specializes in providing complete internet-ready server solutions backed by their expert 24/365 proactive support team.


Figure 3.4
  • Go back to the VBScript you have open for editing and locate the ConfigDB = parameter.
  • Highlight SharePoint_Config_biglongGUIDgoesHERE, right-click on it and choose Paste to replace it with the name of your Configuration Database.
  • Leave script file open for editing and continue.

SiteCollectionBackupFolder Parameter

  • In the SiteCollectionBackupFolder = parameter, change the drive letter to where you previously extracted the SharePointBackups folder structure to. (Figure 3.5)
7
Figure 3.5
  • Leave this file open for editing and continue.

DatabaseBackupFolder Parameter

  • In the DatabaseBackupFolder = parameter, change the drive letter to the drive to which you previously extracted the SharePointBackups folder structure. (Figure 3.6)
8
Figure 3.6
  • From the File menu in Notepad, choose Save and then close the script.

Step 4: Create SharePoint backup user account.

If you're looking for a really good web host, try Server Intellect - we found the setup procedure and control panel, very easy to adapt to and their IT team is awesome!

This user account will be assigned to the scheduled backup job in Task Scheduler. The user is then added to the Administrators group in order to have permissions to backup the WSS databases.

  • From the Start button, choose Administrative Tools and then Active Directory Users and Computers.
  • Expand your domain so you can view the Users container.
9
Figure 4.1
  • Right-click on the Users container and choose New and then User.
10
Figure 4.2
  • Enter in the First name and User logon as SharePointBackups, or any account name that is readily identifiable. (Figure 4.2)
  • Click Next.
  • Enter a password in the Password box and confirm the password.
  • Deselect User must change password at next logon.
  • Select password never expires. This is important or the password could expire and your scheduled task will fail with a logon error. (Figure 4.3)
11
Figure 4.3
 

We used over 10 web hosting companies before we found Server Intellect. Their dedicated servers and add-ons were setup swiftly, in less than 24 hours. We were able to confirm our order over the phone. They respond to our inquiries within an hour. Server Intellect's customer support and assistance are the best we've ever experienced.

  • Click Next.
  • Deselect Create an Exchange mailbox. (Figure 4.4)
12
Figure 4.4
  • Click Next.
  • Click Finish.
  • Double-click on the new SharePointBackups user to open the account properties.
  • Click on the Member Of tab.
13
Figure 4.5
  • Click the Add button.
  • In the Select Groups window, type “Administrators” and click Check Names. The name will then underline to show that the name was typed accurately. (Figure 4.6)
14
Figure 4.6
 

If you're ever in the market for some great Windows web hosting, try Server Intellect. We have been very pleased with their services and most importantly, technical support.

  • Click OK.
  • The SharePointBackups user is now part of the Administrators group. (Figure 4.7)
15
Figure 4.7
  • Click OK.
  • Close Active Directory Users and Computers.

Step 5: Create backup job scheduled task.

  1. From the Start button, choose Control Panel, Scheduled Tasks, then Add Scheduled Task.
  2. In the Scheduled Task Wizard, click Next.
  3. In the program selection window, click on Browse.
  4. Browse to the \SharePointBackups\WSS3\BackupScript\ directory, click on wss30backup.vbs, and click Open. (Figure 5.1)
16
Figure 5.1
 

We are using Server Intellect and have found that by far, they are the most friendly, responsive, and knowledgeable support team we've ever dealt with!

  1. Type a name for the backup. For example: WSS3 Backup (Figure 5.2)
  2. Choose to perform the task Weekly and click Next.
17
Figure 5.2
  1. Choose a Start Time that will ensure these files get backed up before the regularly scheduled system wide data backup. (Figure 5.3)
  2. Have the backup run every 1 week and then select which days of the week you would like to back up your site. (Figure 5.3)
18
Figure 5.3
  1. Click Next.
  2. For the user account to run the task under, enter in the SharePointBackups user you created in step 6, enter the password, confirm password, and click Next. (Figure 5.4)

Yes, it is possible to find a good web host. Sometimes it takes a while. After trying several, we went with Server Intellect and have been very happy. They are the most professional, customer service friendly and technically knowledgeable host we've found so far.

19
Figure 5.4
  1. Confirm settings and click Finish.

Step 6: Test backup job.

  • From the Start button, choose Control Panel then right-click on Scheduled Tasks and choose Open.
  • In the Scheduled Tasks window, right-click the job you created and choose Run.
  • Browse to the SharePointBackups\database directory and confirm a backup was created for both the Content and Configuration databases for today. (Figure 6.1)
20
Figure 6.1
  • Browse to the SharePointBackups\sitecollections directory and confirm a backup was created for today. (Figure 6.2)
21
Figure 6.2
 

We chose Server Intellect for its dedicated servers, for our web hosting. They have managed to handle virtually everything for us, from start to finish. And their customer service is stellar.

If a file was not created, here are some methods to help troubleshoot:

Task runs, but backups are not created:

  • Verify the spelling of the parameters in the wss30backup.vbs file.

Task returns a failure code in the Scheduled Tasks window in the Status column:

  • Verify the task’s Run and Start in paths point to the wss30backup.vbs file.
  • Reset the SharePointBackup user account password and try again.

NOTE: As your site content grows, you will want to monitor the available disk space of this partition to insure your backups continue to be successful.

Step 7: Add database and site collection backups to the backup application.

  • Add the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ directory to the backup application to insure that custom graphics are backed up.
  • Add the SharePointBackups directory and subdirectories to the backup application.

Attachments



Download Project Source - Enter your Email to be emailed a link to download the Full Source Project used in this Tutorial!



100% SPAM FREE! We will never sell or rent your email address!

Leave a Comment

Comments on this Article

Post a Comment
Name:
Website:
Email:
Comments:

#1 Jhon Jairo

Posted By: Jhon Jairo | 10.09.2008 at 5:23 PM

Hello

this very good, but how to restore this backup?

thank you very much

#2 Cindy Tan

Posted By: Cindy Tan | 11.02.2008 at 10:58 PM

Nice article. How about if my server is using SQL Server 2000 and what are the add-ons should I install?Please revert. Thanks

#3 marlon

Posted By: marlon | 11.13.2008 at 8:40 AM

How do you restore the backup files?

#4 reviewsgoldmine

Posted By: reviewsgoldmine | 1.09.2010 at 2:49 AM

Thanks for this article, but something is troubling me, i would like to know how to restore the backup files? waiting thanks

#5 send flowers Japan

Posted By: send flowers Japan | 2.04.2010 at 12:20 PM

great info!

#6 siti di giochi dei casinò virtuali

Posted By: siti di giochi dei casinò virtuali | 3.27.2010 at 5:09 AM

i hope it would help me in my uture programming. I'm reading your blog for a ling time and should mention, that it's one of the most clear information for me..This is pretty useful article for many IT professionals in more than one ways.

#7 wholesale laptop adapter

Posted By: wholesale laptop adapter | 5.21.2010 at 1:25 AM

created your WSS Site databases and site collections you will need to ensure the proper backups are in place for disaster recovery.

#8 replacement laptop adapter

Posted By: replacement laptop adapter | 5.21.2010 at 1:25 AM

# ram Files\Common Files\Microsoft Shared\web server extensions\12\ directory to the backup application to insure that custom graphics are backed up.

# Add the SharePointBackups directory and subd

#9 coach handbags

Posted By: coach handbags | 5.24.2010 at 3:18 AM

The Far East aristocrat becomes fashion new influence … “the Russian always to choose best goods - - Chanel in the best brand the handbag and the coat,

#10 batons

Posted By: batons | 6.01.2010 at 5:50 AM

I found this informative and interesting blog i think its very useful and knowledge able.I would like to thank you for the efforts you have made in writing this article.

#11 mbt shoes

Posted By: mbt shoes | 6.11.2010 at 3:54 AM

Keep posting stuff like this i really like it

#12 OM Kotak Mahindra Life Insurance

Posted By: OM Kotak Mahindra Life Insurance | 6.17.2010 at 1:23 AM

Microsoft Enterprise Library is a collection of reusable software components (application blocks) designed to assist software developers with common enterprise development challenges. Check out Enterprise Library 5.0 and Unity 2.0. free hands-on Labs, guide you to learn about app blocks included with Enterprise Library 5.0 and practice how to leverage their capabilities in various app contexts.

#13 Agile informatics Nishu gupt

Posted By: Agile informatics Nishu gupt | 6.17.2010 at 6:44 AM

I am convinced that most developers probably only use the Data Access Application Block and Logging Application Blocks in their .NET applications. In fact, the Enterprise Library Message Board sort of supports my claim if you look at the number of posts for each application block.

#14 fancy jewellery

Posted By: fancy jewellery | 6.18.2010 at 2:04 AM

If there is one question I get asked more than any other in regards to our beer it is, "When will Hunahpus be released." Hunahpu's Imperial Stout is what we call a Mayan Choclate Imperial Stout and is brewed with Peruvian cacao, Ancho and Pasilla chiles

#15 fancy jewellery

Posted By: fancy jewellery | 6.18.2010 at 2:05 AM

If there is one question I get asked more than any other in regards to our beer it is, "When will Hunahpus be released." Hunahpu's Imperial Stout is what we call a Mayan Choclate Imperial Stout and is brewed with Peruvian cacao, Ancho and Pasilla chiles

#16 SEO Expert Services

Posted By: SEO Expert Services | 6.18.2010 at 4:56 AM

I am convinced that most developers probably only use the Data Access Application Block and Logging Application Blocks in their .NET applications. In fact, the Enterprise Library Message Board sort of supports my claim if you look at the number of posts for each application block.

#17 michael jordan shoes

Posted By: michael jordan shoes | 6.18.2010 at 8:52 PM

good post!!thank you

#18 rosetta stone spanish

Posted By: rosetta stone spanish | 7.15.2010 at 2:39 AM

The article written by your very good, I like it very much. I will keep your new article.

#19 Technology Blog

Posted By: Technology Blog | 7.19.2010 at 10:30 AM

Overall the article is quite good, but i am bit confused after reading it, i just want to know that i am using different operating system and what i have to do for restoring back up?

#20 tiffany co

Posted By: tiffany co | 7.21.2010 at 3:06 AM

For classic and quality genuine silver jewelry, many people choose Tiffany & Co brand.Now,we present you the hottest Tiffany silver jewelry .get more http://www.tiffanyonsale.com/

#21 tiffany jewelry

Posted By: tiffany jewelry | 7.21.2010 at 3:06 AM

For classic and quality genuine silver jewelry, many people choose Tiffany & Co brand.Now,we present you the hottest Tiffany silver jewelry .get more http://www.tiffanyonsale.com/

#22 tiffany jewellery

Posted By: tiffany jewellery | 7.21.2010 at 3:06 AM

For classic and quality genuine silver jewelry, many people choose Tiffany & Co brand.Now,we present you the hottest Tiffany silver jewelry .get more http://www.tiffanyonsale.com/

#23 tiffany ring

Posted By: tiffany ring | 7.26.2010 at 7:04 AM

This is exactly cheap tiffany jewelry you can get cheap Tiffany Rings, Necklaces, Errings, Bracelets and other Tiffany Jewellery.get more http://www.tiffanyonsale.com/

#24 tiffany bracelet

Posted By: tiffany bracelet | 7.26.2010 at 7:04 AM

This is exactly cheap tiffany jewelry you can get cheap Tiffany Rings, Necklaces, Errings, Bracelets and other Tiffany Jewellery.get more http://www.tiffanyonsale.com/

#25 tiffany necklace

Posted By: tiffany necklace | 7.26.2010 at 7:04 AM

This is exactly cheap tiffany jewelry you can get cheap Tiffany Rings, Necklaces, Errings, Bracelets and other Tiffany Jewellery.get more http://www.tiffanyonsale.com/

#26 gucci bags

Posted By: gucci bags | 7.29.2010 at 11:26 PM

thank you