====== db_hotbackup ====== Command line programs are executed via a [[technote:commandline|Command Line Prompt]] or via a batch file. They cannot be executed by double clicking or right click run ===== Synopsis ===== ''db_hotbackup -h database directory -b output directory'' ===== Description ===== db_hotbackup creates a backup of the TapeTrack Framework Server database without the need to shut down the Framework Server. The output files can then be zipped and saved to a secure location. ===== Options ===== The options which apply to the db_hotbackup command are: * ''-h'' Database directory * ''-b'' Directory for database backup to be written to ===== Exit Status ===== - **zero** Program has ended successfully. - **non-zero** Program was unable to connect to the TapeTrack Framework Server. This program is run via a batch file called ''Backup.bat'' located, by default, at ''C:\Program Files\TapeTrack\TapeTrack Framework Server\bin\db''. ===== Example ===== @echo off :: :: Object Type: DOS Batch Script :: Description: TapeTrack Database Backup :: System: TMSS :: SecLevel: Proprietary :: Copyright: (c) 2012 GazillaByte LLC :: :: :: set the working directory to the TapeTrack Scripts directory so we can use relative paths :: cd "%TMSS10SCRIPTS%" db_hotbackup -h "%TMSS10DB%" -b "%TMSS10BACK%" exit