1 / 8

Comprehensive Guide to Database Backup Methods for PRO-TECH Users

This document outlines essential database backup methods for PRO-TECH users, focusing on Firebird utilities such as nbackup and gbak. It covers three primary backup strategies: using operating systems, Firebird’s nbackup for incremental backups, and gbak for restoring and defragmenting databases. Key considerations include the handling of locked main database files, maintaining transaction integrity, and scheduling service stops. This guide also discusses media impacts on restore times and emphasizes the importance of regular testing and validation of backups to prevent data corruption.

havily
Télécharger la présentation

Comprehensive Guide to Database Backup Methods for PRO-TECH Users

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 2013 PRO-TECH Users’ Group (day 1) • Database Backup • Backup *.fdb files daily • Three methods • Operating system (o/s) • Firebird nbackup utility • Firebird gbak utility • Operating system • Tape, usb, external hard drive, MozyPro, etc. • Database corruption can occur if user is in PRO-TECH and o/s backup occurs

  2. 2013 PRO-TECH Users’ Group (day 1) • Database Backup • Firebird nbackup utility • Main database file is locked • .delta file created • All transactions saved in .delta file • Main database file can be copied via o/s • Main database file is unlocked • .delta file transactions applied to main db file • .delta file deleted • Incremental backups available • Can be done while using PRO-TECH

  3. 2013 PRO-TECH Users’ Group (day 1) • Database Backup • Firebird utility (gbak) • Can be used to ”defragment” a database. • Backup • Saves database structure • Saves flat data • Restore • Builds database structure • Inserts records • Balances indices

  4. 2013 PRO-TECH Users’ Group (day 1) • Database Backup • Options • Operating system • Schedule stop/start of Firebird service before/after backup software • Stop/start of Firebird service • Ends any open transaction • Frees memory • No one can access PRO-TECH while service is stopped • If needed, restore time is determined by media • Database compression possible before backup

  5. 2013 PRO-TECH Users’ Group (day 1) • Database Backup • Options • Operating system with Firebird nbackup • Can be used in conjunction with o/s backup • Can be done while database is in use • Does not ”defrag” database

  6. 2013 PRO-TECH Users’ Group (day 1) • Database Backup • Options • Firebird backup - gbak • Can be used to create database backup file • Can be done while database is in use • If needed, restore may take several hours • Backup file needs to be restored to test validity • Firebird restore -gbak • At least once every two months to ”defrag” • Balance of Backup time / File size / Restore Time

  7. 2013 PRO-TECH Users’ Group (day 1) • Database Backup • Utility • Backup_routine_svc.bat • Interactive or scheduled • Interactive will not delete any file; scheduled will • Options to: • Validate, Mend, Backup, and Restore (1,4) • Backup and Restore only (2,6) • 7zip *.fdb files (3,7)

  8. 2013 PRO-TECH Users’ Group (day 1) • Database Backup • Utility • Backup_routine_svc.bat • Some configuration needed

More Related