TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:db_hotbackup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cli:db_hotbackup [2021/09/03 01:09] – created Scott Cunliffecli:db_hotbackup [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 8: Line 8:
 ''db_hotbackup -h database directory -b output directory'' ''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.
  
  
-db_hotbackup creates a backup of the TapeTrack Framework Server database while it is active or running. 
  
 This program is run via a batch file called ''Backup.bat'' located, by default, at  This program is run via a batch file called ''Backup.bat'' located, by default, at 
 ''C:\Program Files\TapeTrack\TapeTrack Framework Server\bin\db''. ''C:\Program Files\TapeTrack\TapeTrack Framework Server\bin\db''.
  
 +===== Example =====
 +
 +<code>
 +@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
 +</code>
  
  
  
cli/db_hotbackup.1630631377.txt.gz · Last modified: 2025/01/21 22:07 (external edit)