Showing posts with label stsadm. Show all posts
Showing posts with label stsadm. Show all posts

Monday, July 6, 2009

MOSS: Install IT helpdesk Template

Hey,

Following are commands to be executed to install a template in MOSS Server. I have installed a site template for IT help desk with the following command. There are two steps to be basically.

1. Add solution:
Command:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o addsolution -filename HelpDesk.wsp

Message shown execution is "Operation completed successfully."

2. Deploy solution:
While deploying we need to specify either the deployment is '-immediate' or '-local' or '-time' as parameter .
Command:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o deploysolution -name HelpDesk.wsp -immediate -allowgacdeployment

Message shown execution is "Timer job successfully created."

Thats it :)

Regards
Fauzi

Tuesday, April 28, 2009

The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes.

Hi,

When you try to save a MOSS 2007 List as a template with "Include Content" check box checked (In order to save the list with the available contents), the following message will be shown...

The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes.

To increase the maximum size of list template you can run the following command:

stsadm -o setproperty -propertyname max-template-document-size -propertyvalue 50000000

from the following location in server : C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN

Seems you can increase up to 500 MB.

After running the command, just press CTRL+F5 to view the results :)

Regards
Fauzi

Wednesday, October 8, 2008

Automate MOSS 2007 Backup

Hi...

To automate the backup activity of MOSS 2007 portal Server we use to do the following two steps...
1. Creation of Batch file: Here we create a batch file which will execute the stsadm.exe, passing necessary parameters to perform the backup activity in command prompt.

Batch file Code as follows:

@echo off
echo ====================================================
echo Backup Script For Office SharePoint Server 2007
echo ====================================================
@echo off

RD D:\Backup\SOME FOLDER /S /Q
MD D:\Backup\SOME FOLDER

stsadm.exe -o backup -directory "\\SOME FOLDER" -backupmethod full -item "Farm" -overwrite

echo completed

2. Scheduled Tasks: In this step we can create a scheduled task (Control Panel --> Scheduled Tasks) to execute the batch file at a preferred frequency of time.

Thus your backup is automated, its advisable to the monitor free space available on the disk regularly...

Now recently there are new tools available to take backups.And they come with more cool features. If you use some interesting tools or any other technique, feel free to let us know :)

Warm Regards
Mohammed Fauzi ~ 4Z