Tip T300 -Backing Up The Cisco Tms Database Using Osql; Extra Reference Links - Cisco TMS SQL DATABASE Configuration Manual

Table of Contents

Advertisement

Tips category – Maintaining/Upkeep
TIP T300 –Backing up the Cisco TMS Database using osql
Cisco TMS Versions
All
A SQL database must be backed up from the SQL Server to generate a .bak file and then the resulting
file can be backed up. Backups can be performed using several tools.
Backups can be taken without taking the database offline, but because backups can take a significant
amount of time to complete, the database should be idle to ensure the backup is consistent. Performing
backups during times of low usage minimizes this risk.
To fully ensure the database is idle, stop all Cisco TMS Windows Services and web servers pointed at
the Cisco TMS database.
SQL provides several types of backups, but to perform a full backup issue the following command in a
command prompt
osql –S servername –E –Q "backup database tmsng TO DISK = 'c:\filename.bak'"
filename.bak is now a full backup of the database tmsng and is free to be moved or stored
For additional help on osql command line options, see 'TIP T109 –Using osql for Cisco TMS tasks'

Extra reference links

How to manage the SQL Server Desktop Engine (MSDE 2000) or SQL Server 2005 Express Edition by
using the osql utility
Cisco TMS Database Knowledge Tips
SQL Server Versions
SQL 2000 – All Versions
MSDE 2000 – All Versions
SQL 2005 – All Versions
SQL 2005 Express – All Versions
Tips category – Maintaining/Upkeep
Page 22 of 35

Advertisement

Table of Contents
loading

Table of Contents