Subject Re: [firebird-support] How to use GBAK to create/restore into multiple files with specific size
Author Steve Wiser
We use the following statement to backup a single gdb or multiple gdbs
into multiple gbks (1900 MB for each gbk):

gbak -b -v -t <database.gdb> stdout | gsplit -split <database.gbk> 1900m
<database2.gbk> 1900m [<database3.gbk> 1900m, ...]

We use this command to restore the gbks into gdbs:

gsplit -join <database.gbk> <database2.gbk> [<database3.gbk>, ...] |
gbak -r -v -c -p 4096 stdin <database.gdb> 511999 <database2.gdb> 511999
[<database3.gdb> 511999, ...]

I hope this helps.

-steve

On Wed, 2005-06-29 at 14:21 +0700, Mohd. Jeffry wrote:

> Dear All,
>
> Below is an example taken form OpGuide
>
> bak -r user -joe -pa blurf@ -se jupiter:service_mgr /backup/foo1.gbk
> /backup/foo2.gbk /backup/fooLast.gbk /companydb/foo1.gdb 500
> /companydb/foo2.gdb 500 /companydb/fooLast.gdb
>
> The number after the db files is the size of the db that will get
> created or what ? Let say I want to create multiple db files with the
> size of 4 GB each from a backup that is 15 GB. What option/switch
> should I use?
>
> regards,
> linuxlah
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>
>
>
>


[Non-text portions of this message have been removed]