dbbackup readme
TRANSCRIPT
-
8/12/2019 Dbbackup ReadMe
1/3
Microsoft OfficeLive Communications Server 2003
Database Backup Tool
1. ntro!uctionThe Microsoft Office Live Communications Server 2003 commandline script
tool, dbbacup, is a commandline tool used to bacup and restore a MicrosoftLive Communications Server database!
1.1 Problem Statement
"acin# 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 bacups!
1.2 Product Utilized
The database bacup tool 'dbbacup( is a !)*T application!
2. "sin# t$e Tool
2.1 Setup
+bbacup!ee is installed on the server computer under the Live Communications
Server installation folder, -ith the default bein#. /s%stemdrive/1ro#ram
ilesMicrosoft LCServerSupport!
2.2 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]
Microsoft Corporation 2003
4
-
8/12/2019 Dbbackup ReadMe
2/3
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.
nologrestore: %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.
numbackups: '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 .
description: *escription for the backup 0ob. (rgument value
is a string. *efault value is empty.
dbname: %he name of the database to connect to.
(rgument value is a string. *efaults to 1%.
sqlserver: %he #$ server instance to connect to. %he tool
attempts to connect using 2indo!s
(uthentication. *efaults to the local machine)s
rtc instance.
Microsoft Corporation 2003
2
-
8/12/2019 Dbbackup ReadMe
3/3
5 sample command for bacin# up the database to create a )e-bacup!dat file in
the current folder can be.
dbbackup /backupfile:.3'e!backup.dat
5 sample command for restorin# from a bacup file can be.
dbbackup /backupfile:.3'e!backup.dat /restore
2.3 Recommendations
The 6restore operation over-rites an% eistin# database! Thus, if %ou have
important information in the data store that %ou don7t -ant to over-rite, donot restore the database from bacup!
&t is recommended that this tool be run as a dail% scheduled tas
approimatel% at the time %our Live Communications Server is at its lo-est
capacit%! This ensures that there is a recent bacup 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 rame-or does not allo- mana#ed
applications to run from net-or shares! Mae sure that dbbacup!ee is run
locall%!
The tool cannot bacup to a remote file share! or true disaster recover%, it
is recommended that %ou bacup to a local folder and cop% these bacup filesto a remote share!
Microsoft Corporation 2003
3