Você está na página 1de 3

Microsoft Office Live Communications Server 2003 Database Backup Tool 1. ntro!

uction
The Microsoft Office Live Communications Server 2003 commandline script tool, dbbac up, is a commandline tool used to bac up and restore a Microsoft Live Communications Server database! 1.1 Problem Statement "ac in# up a Live Communications Server database is re$uired for disaster recover%! &n case of such an incident, the entire database can be recovered usin# the bac ups! Product Utilized The database bac up tool 'dbbac up( is a !)*T application!

1.2

2.
2.1

"sin# t$e Tool


Setup +bbac up!e,e is installed on the server computer under the Live Communications Server installation folder, -ith the default bein#. /s%stemdrive/01ro#ram 2iles0Microsoft LC0Server0Support! How to Use the Dbbackup Tool The follo-in# are the commandline options for the tool.
Usage for creating a backup dbbackup.exe /backupfile:value [/numbackups:value] [/description:value] [/dbname:value] [/sqlserver:value] Usage to estimate the amount of temporary space required to perform a restore dbbackup.exe /estimatetempspace [/dbname:value] [/sqlserver:value] Usage for restoring the database dbbackup.exe /backupfile:value /restore [/nologrestore] [/numbackups:value] [/description:value] [/dbname:value] [/sqlserver:value]

2.2

3 Microsoft Corporation 2003 4

Options: backupfile: ocation !here the backup is stored. "nsure that the account #$ #erver is running under has access to this location.

estimatetempspace:%his option !ill display the estimated space required for the temporary file created during restore. %he restore operation !ill fail if this amount of free space does not exist in the current directory. restore: &ndicates that the database needs to be restored from a backup. 'ote that the restore operation might choose to backup and restore the transaction log. "nsure that sufficient space is available in the current directory by running the restore operation !ith the /estimatetempspace option first. ( backup of the database !ill be performed immediately after restore. %his option !ill force the tool to not attempt to backup and restore the transaction log. %his option should be used !ith caution since there is no !ay to undo the restore !hen it)s done. *efault is false. 'umber of backups to maintain. Older backups !ill be numbered from + to + minus the value of numbackups. %he greater the value of the number, the older the backup. Older backups are over!ritten. *efault value is -. .annot be less than + or greater than /. *escription for the backup 0ob. (rgument value is a string. *efault value is empty. %he name of the database to connect to. (rgument value is a string. *efaults to 1%.. %he #$ server instance to connect to. %he tool attempts to connect using 2indo!s (uthentication. *efaults to the local machine)s rtc instance.

nologrestore:

numbackups:

description:

dbname:

sqlserver:

3 Microsoft Corporation 2003 2

5 sample command for bac in# up the database to create a )e-bac up!dat file in the current folder can be.
dbbackup /backupfile:.3'e!backup.dat

5 sample command for restorin# from a bac up file can be.


dbbackup /backupfile:.3'e!backup.dat /restore

2.3

Recommendations The 6restore operation over-rites an% e,istin# database! Thus, if %ou have important information in the data store that %ou don7t -ant to over-rite, do not restore the database from bac up! &t is recommended that this tool be run as a dail% scheduled tas appro,imatel% at the time %our Live Communications Server is at its lo-est capacit%! This ensures that there is a recent bac up if needed!

The tool should be run from an account that has access to the database! The local 5dministrator account has access as does the account under -hich Live Communications Server runs!

3.

%no&n ssues
"% default, version 4!4 of the !)*T 2rame-or does not allo- mana#ed applications to run from net-or shares! Ma e sure that dbbac up!e,e is run locall%!

The tool cannot bac up to a remote file share! 2or true disaster recover%, it is recommended that %ou bac up to a local folder and cop% these bac up files to a remote share!

3 Microsoft Corporation 2003 3

Você também pode gostar