Utilities 7-13
Input File Location Options
You cannot use the-f option unless it was used when the schema file was
exported with thedbexport program. If you use -f, you typically use the
samecommand filename that you specified in the dbexport command. If you
specify only a filename,dbimport looks for the file in the .exp subdirectory
of either your current directory or the directory you specify with the -i
option.
If you are importing from tape, you must use the same block size and tape
size that you used to export the database.
The following command imports thestores5 database from a tape with a
blocksize of 16 KB and a capacity of 24,000 KB. The schema file is read from
/tmp/stores5.imp. The-c option directsdbimport to continue unless a fatal
error is detected.
dbimport -c -t /dev/rmt0 -b 16-s 24000 -f /tmp/stores5.imp stores5
The following command imports thestores5 database from the stores5.exp
directory under the /usr/informix/port directory. The schema file is
assumed to be /usr/informix/port/stores5.exp/stores5.sql.
dbimport -c -i /usr/informix/port stores5