Gbak improvements and multi-file backup (gsplit).Gbak, whose internal name is burp, is the utility designed to create database backups and to restore those backups to functional databases again. It received two improvements:For both backup and restore operations, it takes less time than its 4.X version. In UNIX, earlier versions forced both input and output to be files. More consistent with the UNIX spirit, this versions accepts input from stdin and output to stdout, allowing the traditional "pipe" techniques to be applied in UNIX with the inherent power they provide. One problem with earlier versions was that gbak only could produce a giant and linear backup file. Since TAPE operations are sequential, this is not a great problem (random access to files is more restrictive in terms of size, usually), but even so, the operating system imposes a limit on a maximum file size. Gsplit comes to the rescue: it was created to split a backup into several files and to reassemble a multi file backup into a stream that can be restored to a database. The operation is done using pipes and given that only the UNIX gbak accepts streams as input or output, this functionality is available only in UNIX. Please, remember that at the time the IB5 documentation was written, Linux wasn't widely accepted as now in year 2000, so probably when an IB feature is implemented in UNIX, it can be found in Linux, too. A faster gbak is a blessing, since the importance of backup and restore operations goes further than a simple security copy of the database:
Again, the Operations Guide devotes a chapter to database backup and restore, using the command-line utilities and where available, the GUI utilities. |
This page was last updated on 2001-01-17 04:17:25 |