Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Ameerul used dbexport to a 4mm tape on Informix Online on AIX, but dbimport restored with some tables missing. Helmut Leininger asked about DBA privileges and log messages. Tam McLaughlin had a similar problem, got a different-number-of-columns load error, and avoided it by exporting to disk and compressing. Curt Mayers noted a delimiter embedded in data can break the import. Unresolved.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
I'm using Informix Online on AIX. Have problem with dbexport to a 4mm tape (2Gb) and then dbimport
back. Done dbexport with stated command :
dbexport dbname -t /dev/rmt0 -b 16 -s 2048000
When dbimport, it is not complete.
dbimport dbname -t /dev/rmt0 -b 16 -s 2048000
But some tables are missing. Thank God I have a backup.
Tried again dbexport and dbimport, still same problem. Could anyone help me?
↪ replying to Ameerul@mesiniaga.com.my
Helmut Leininger — — source: Informix-list mailing list archive (1991-1998)
Ameerul@mesiniaga.com.my wrote:
> I'm using Informix Online on AIX. Have problem with dbexport to a 4mm tape (2Gb) and then dbimport
> back. Done dbexport with stated command :
> dbexport dbname -t /dev/rmt0 -b 16 -s 2048000
>
> When dbimport, it is not complete.
>
> dbimport dbname -t /dev/rmt0 -b 16 -s 2048000
>
> But some tables are missing. Thank God I have a backup.
>
> Tried again dbexport and dbimport, still same problem. Could anyone help me?
Hi,
I assume you ran the job with DBA privileges. Are there any massages in the logfiles of dbexport /
dbimport that indicate a problem?
Regards
--
Helmut Leininger
Bull AG / Vienna
Open Systems Support
Email: h.leininger@bull.at
helmut.leininger@bull.net
This opinion is mine and not necessarily that of my employer.
No guarantees whatsoever.
↪ replying to Ameerul@mesiniaga.com.my
Tam McLaughlin — — source: Informix-list mailing list archive (1991-1998)
I also had this problem and Informix suggested using multiple tapes as other
people
have described. But I got the following error when I tried to reload:
*** load table ***
load file has different number of columns than table.
This did not make sense as I have exported and imported this database before
to/from
disk. So I used "dd" to get some data of the tape onto disk and tried the
import again but pointing
to the file on disk which started to work. It obviously fell over as I only
took a few Meg from tape.
Informix suggested using a diff delimiter from "|" and to check that there
were no "|"'s in the date.
The load file looked ok and rather than try exporting to tape using a diff
delimiter I just exported to disk and compressed the unload files as I knew
I could def get the import working this way.
↪ replying to Tam McLaughlin
Curt Mayers — — source: Informix-list mailing list archive (1991-1998)
If a column has the delimiter (usually "|") embedded in its
field value, the row will be mis-parsed and the dbimport may
fail.
Hope this helps.
Tam McLaughlin wrote:
> I also had this problem and Informix suggested using multiple tapes as other
> people
> have described. But I got the following error when I tried to reload:
>
> *** load table ***
> load file has different number of columns than table.
>
> This did not make sense as I have exported and imported this database before
> to/from
> disk. So I used "dd" to get some data of the tape onto disk and tried the
> import again but pointing
> to the file on disk which started to work. It obviously fell over as I only
> took a few Meg from tape.
> Informix suggested using a diff delimiter from "|" and to check that there
> were no "|"'s in the date.
> The load file looked ok and rather than try exporting to tape using a diff
> delimiter I just exported to disk and compressed the unload files as I knew
> I could def get the import working this way.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.