Jim McCusker
Guest
|
Posted:
Thu Jan 20, 2005 7:17 pm Post subject:
RE: Sharepoint Backup |
|
|
Absolutely! You can use the SPBackup.exe program that is provided with SPS.
This utility can be run from the command-line as a scheduled task. I suggest
that you create domain service account that has admin rights on your SPS and
SQL 2000 servers. (you can actually give the service account lesser
privlages, but you'll need to read the documentation for the specifics).
The syntax for SPBackup is:
spsbackup { /all | /teamdbs | /ssodb | /doclib |
{ /portal site portal siteUrl [ /service { sitedbs | index } ] } } /file
backupfilepath\fileprefix [/overwrite]
You must choose one of the following parameters for the type of data to back
up:
/all.
• Backs up all data from all portal sites and team databases.
/teamdbs.
• Backs up all team databases.
/ssodb.
• Backs up all data from single sign-on databases.
/doclib.
• Backs up all data from backward-compatible document libraries.
/portal site portal siteUrl.
• Backs up the portal site with the specified portal site URL.
You might also add the following optional parameter to the /portal site
portal siteUrl parameter:
• /service.Backs up a specific service, either sitedbs or index.
The following parameters are added next:
/file backupfilepath\fileprefix.
• This required parameter specifies the files that contain the backup image.
backupfilepath is the directory to the location of backup files, and
fileprefix is the first few characters in the file names of the backup files.
/overwrite.
• This optional parameter overwrites any previous backup image.
/DMLocalPath.
• During a backup of the backward-compatible document library, the backup of
the Web Storage System is stored to a local drive. This location will only
hold the document library backup temporarily because the SharePoint Portal
Server Data Backup and Restore utility pulls the backup file out of there and
copies it to the backup file path specified using the /file parameter. If
there is not enough disk space in the default location on the local drive,
you can specify a different local path on the serve
"Hassan Saleem" wrote:
| Quote: | hi
i like to know if there is way to schedule backup of sharepoint..Like i set
it to 9am every day and it back ups the sharepoint site automatically..
thanx in advance.
regards
Hassan |
|
|