Subject | Firebird 1.02 GBAK problems |
---|---|
Author | Dalton Calford |
Post date | 2003-02-05T22:14:49Z |
I have backed up a large-ish database (40 GB) into 11 2GB backup files.
I want to restore it into 30 1.5GB database files.
I am using Superserver FB 1.02 latest version.
My command line instruction is (it is wrapped due to email, but is one single
instruction)
/smack/huge/dalton/mcf.backup/mcf.3.gbak
/smack/huge/dalton/mcf.backup/mcf.4.gbak
/smack/huge/dalton/mcf.backup/mcf.5.gbak
/smack/huge/dalton/mcf.backup/mcf.6.gbak
/smack/huge/dalton/mcf.backup/mcf.7.gbak
/smack/huge/dalton/mcf.backup/mcf.8.gbak
/smack/huge/dalton/mcf.backup/mcf.9.gbak
/smack/huge/dalton/mcf.backup/mcf.10.gbak
/smack/huge/dalton/mcf.backup/mcf.11.gbak
/smack/huge/dalton/mcf.backup/mcf.12.gbak
/smack/huge/dalton/mcf.backup/mcf.13.gbak
/smack/huge/dalton/mcf.backup/mcf.14.gbak
/smack/huge/dalton/mcf.backup/mcf.15.gbak
/smack/huge/dalton/mcf.backup/mcf.16.gbak
/smack/huge/dalton/mcf.backup/mcf.17.gbak
/smack/huge/dalton/mcf.backup/mcf.18.gbak
/smack/huge/dalton/mcf.backup/mcf.19.gbak
/smack/huge/dalton/mcf.backup/mcf.20.gbak -v -y r.out -R
/smack/huge/dalton/mcf.1 100000
/smack/huge/dalton/mcf.2 100000
/smack/huge/dalton/mcf.3 100000
/smack/huge/dalton/mcf.4 100000
/smack/huge/dalton/mcf.5 100000
/smack/huge/dalton/mcf.6 100000
/smack/huge/dalton/mcf.7 100000
/smack/huge/dalton/mcf.8 100000
/smack/huge/dalton/mcf.9 100000
/smack/huge/dalton/mcf.10 100000
/smack/huge/dalton/mcf.11 100000
/smack/huge/dalton/mcf.12 100000
/smack/huge/dalton/mcf.13 100000
/smack/huge/dalton/mcf.14 100000
/smack/huge/dalton/mcf.15 100000
/smack/huge/dalton/mcf.16 100000
/smack/huge/dalton/mcf.17 100000
/smack/huge/dalton/mcf.18 100000
/smack/huge/dalton/mcf.19 100000
/smack/huge/dalton/mcf.20 100000
/smack/huge/dalton/mcf.21 100000
/smack/huge/dalton/mcf.22 100000
/smack/huge/dalton/mcf.23 100000
/smack/huge/dalton/mcf.24 100000
/smack/huge/dalton/mcf.25 100000
/smack/huge/dalton/mcf.26 100000
/smack/huge/dalton/mcf.27 100000
/smack/huge/dalton/mcf.28 100000
/smack/huge/dalton/mcf.29 100000
/smack/huge/dalton/mcf.30
[end of command line]
The output of the command is as follows
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.1.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.2.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.3.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.4.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.5.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.6.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.7.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.8.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.9.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.10.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.11.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.12.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.13.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.14.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.15.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.16.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.17.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.18.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.19.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.20.gbak
gbak: cannot open backup file /smack/huge/dalton/mcf.1
gbak: Exiting before completion due to errors
It appears that the gbak program can not parse when the backup files end and
the database to be created begins.
Can anyone give me some guidance as to what I am doing wrong?
best regards
Dalton
I want to restore it into 30 1.5GB database files.
I am using Superserver FB 1.02 latest version.
My command line instruction is (it is wrapped due to email, but is one single
instruction)
> gbak -p 16384 -bu 2048 /smack/huge/dalton/mcf.backup/mcf.1.gbak/smack/huge/dalton/mcf.backup/mcf.2.gbak
/smack/huge/dalton/mcf.backup/mcf.3.gbak
/smack/huge/dalton/mcf.backup/mcf.4.gbak
/smack/huge/dalton/mcf.backup/mcf.5.gbak
/smack/huge/dalton/mcf.backup/mcf.6.gbak
/smack/huge/dalton/mcf.backup/mcf.7.gbak
/smack/huge/dalton/mcf.backup/mcf.8.gbak
/smack/huge/dalton/mcf.backup/mcf.9.gbak
/smack/huge/dalton/mcf.backup/mcf.10.gbak
/smack/huge/dalton/mcf.backup/mcf.11.gbak
/smack/huge/dalton/mcf.backup/mcf.12.gbak
/smack/huge/dalton/mcf.backup/mcf.13.gbak
/smack/huge/dalton/mcf.backup/mcf.14.gbak
/smack/huge/dalton/mcf.backup/mcf.15.gbak
/smack/huge/dalton/mcf.backup/mcf.16.gbak
/smack/huge/dalton/mcf.backup/mcf.17.gbak
/smack/huge/dalton/mcf.backup/mcf.18.gbak
/smack/huge/dalton/mcf.backup/mcf.19.gbak
/smack/huge/dalton/mcf.backup/mcf.20.gbak -v -y r.out -R
/smack/huge/dalton/mcf.1 100000
/smack/huge/dalton/mcf.2 100000
/smack/huge/dalton/mcf.3 100000
/smack/huge/dalton/mcf.4 100000
/smack/huge/dalton/mcf.5 100000
/smack/huge/dalton/mcf.6 100000
/smack/huge/dalton/mcf.7 100000
/smack/huge/dalton/mcf.8 100000
/smack/huge/dalton/mcf.9 100000
/smack/huge/dalton/mcf.10 100000
/smack/huge/dalton/mcf.11 100000
/smack/huge/dalton/mcf.12 100000
/smack/huge/dalton/mcf.13 100000
/smack/huge/dalton/mcf.14 100000
/smack/huge/dalton/mcf.15 100000
/smack/huge/dalton/mcf.16 100000
/smack/huge/dalton/mcf.17 100000
/smack/huge/dalton/mcf.18 100000
/smack/huge/dalton/mcf.19 100000
/smack/huge/dalton/mcf.20 100000
/smack/huge/dalton/mcf.21 100000
/smack/huge/dalton/mcf.22 100000
/smack/huge/dalton/mcf.23 100000
/smack/huge/dalton/mcf.24 100000
/smack/huge/dalton/mcf.25 100000
/smack/huge/dalton/mcf.26 100000
/smack/huge/dalton/mcf.27 100000
/smack/huge/dalton/mcf.28 100000
/smack/huge/dalton/mcf.29 100000
/smack/huge/dalton/mcf.30
[end of command line]
The output of the command is as follows
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.1.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.2.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.3.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.4.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.5.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.6.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.7.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.8.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.9.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.10.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.11.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.12.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.13.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.14.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.15.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.16.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.17.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.18.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.19.gbak
gbak: opened file /smack/huge/dalton/mcf.backup/mcf.20.gbak
gbak: cannot open backup file /smack/huge/dalton/mcf.1
gbak: Exiting before completion due to errors
It appears that the gbak program can not parse when the backup files end and
the database to be created begins.
Can anyone give me some guidance as to what I am doing wrong?
best regards
Dalton