Here is a little collection Screencasts about Office 2007
Tag: Sharepoint
Q I Am Getting An Error When I Am Trying Out Ny New ASPNET Application It Looks Like This FO
Q: I am getting an error when I am trying out ny new ASP.NET application, it looks like this:
Access to the path “C:WINDOWSMicrosoft.NETFrameworkv1.1.4322Temporary ASP.NET Filesdasblog99184a323905a458” is denied.
A: This happens when you promote the server to a domain controller according to this article in the Microsoft Knowledge Base. It says it applies to Sharepoint but it solved my problems with my dasBlog installation.
How to back up and restore http://companyweb data in Windows Small Business Server 2003
How to back up and restore http://companyweb data in Windows Small Business Server 2003
Article ID | : | 829112 |
Last Review | : | May 4, 2005 |
Revision | : | 5.0 |
IN THIS TASK
On this page
SUMMARY
For these steps to work, you must meet the following criteria:
• | You must restore the database to the same server where you performed the backup operation. | ||||||||
• | The following Windows SharePoint Services database and log files must be on the server:
|
Back up and restore a Windows SharePoint Services http://companyweb database by using Windows NT Backup
1. | To back up the Windows SharePoint Services http://companyweb database by using Windows NT Backup, follow these steps:
|
||||||||||||||||||
2. | To restore a Windows SharePoint Services http://companyweb database by using Windows NT Backup, follow these steps:
Note This action overwrites the existing Windows SharePoint Services databases. Microsoft recommends that you back up the current Program FilesMicrosoft SQL ServerMSSQL$SharePointData folder before you restore files.
|
Back up and restore a Windows SharePoint Services http://companyweb database by using the Stsadm.exe command-line tool
1. | To back up a Windows SharePoint Services http://companyweb database by using Stsadm.exe, follow these steps:
|
||||||||||
2. | To restore a Windows SharePoint Services http://companyweb database by using Stsadm.exe, follow these steps:
|
Example script to create daily backups of the http://companyweb database
Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and the tools that are used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, visit the following Microsoft Web site:
For additional information about the support options available from Microsoft, visit the following Microsoft Web site:
The following example script uses a numbered value for the day of the week. The script then appends this number to the name of the backup file that the script creates in the X:Backups location. To use this script, copy the following code to a Notepad file, and then customize the text string that specifies the backup file (x:backupscompanyweb). Next, save the Notepad file by using the file name Wssback.vbs, and then create a scheduled task to run this script daily.
dim dayweekdim strBackupdayweek = datepart("w",(date))strBackup = """C:Program FilesCommon FilesMicrosoft Sharedweb server extensions60BINstsadm""" + _"-o backup -url http://companyweb -filename x:backupscompanyweb" + cstr(dayweek) + ".dat -overwrite"wscript.echo "Backing up Companyweb"Set WshShell = WScript.CreateObject("WScript.Shell")Return = WshShell.Run(strBackup, 0, true)Set WshShell = Nothing
To add this script as a scheduled task, follow these steps:
1. | Open Control Panel. |
2. | Double-click Scheduled Tasks. |
3. | On the File menu in Scheduled Tasks, point to New, and then click Scheduled Task. |
4. | Type a name for the scheduled task, such as Companyweb Backup. |
5. | Double-click the new task to open the task properties. |
6. | In the Run box, type cscript Drive:Wssback.vbs.
Note In this step, Drive is the location of the Wssback.vbs file. |
7. | Click Set password, type the password for the user account that the task will use in the Password box and in the Confirm password box, and then click OK. |
8. | Click the Schedule tab, configure the appropriate schedule, and then click OK. |
9. | To test the scheduled task, right-click the task, and then click Run. After the task runs, visit the location that you specified for the backup file to verify that the script created the file. |
REFERENCES
For more information about the Windows SharePoint Services Administrator’s Guide, visit the following Microsoft Web site:
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
APPLIES TO
• | Microsoft Windows Small Business Server 2003 Premium Edition |
• | Microsoft Windows Small Business Server 2003 Standard Edition |
• | Microsoft Windows SharePoint Services |
Keywords: |
kbhowtomaster kbbug KB829112 |