It's all about the answers!

Ask a question

bfdbdump command run fail


qiu saphen (27126039) | asked Aug 08 '11, 8:41 a.m.
Hi,
I want to backup db2 which is used by buildforge, but with using the bfdbdump command, it runs fail.

ce20:/opt/buildforge/Platform # ./bfdbdump -e a
Running command 'db2 -t -f a/quiesce.ddl'
Command completed with exit code -1
Failed while attempting to quiesce database. Error:



######################################################################

Running command 'db2 -t -f a/sys.ddl'
Command completed with exit code -1
Error occured while querying for BF_* (or B7_*) tables. Error:


Usage: bfdbdump.pl
-h - prints this message and exits
-i - import the database from the file filename (for DB2 filename should point to a directory)
-e - export the database to the file filename (for DB2 filename should point to a directory)
-b - restrict the list of tables to be imported to only historical staging tables
-c - configuration file to use for database information (default is migrate.conf)

-d - database name to import the file into (required on mssql server)


failed to run command
Error: No such file or directory

3 answers



permanent link
Robert haig (1.0k16) | answered Aug 10 '11, 1:03 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
you'd be much better served using DB2's internal backup mechanisms. Restores would be much smoother, and your DBAs should have all the info they need for this.

permanent link
qiu saphen (27126039) | answered Aug 10 '11, 10:23 p.m.
We have no DBA, hope will improve the command at next version.

permanent link
Robert haig (1.0k16) | answered Aug 11 '11, 11:12 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
We have no DBA, hope will improve the command at next version.


you should open a PMR with IBM support. Request help with this tool, and/or HOWTO help with backing up DB2.

Enterprise DB systems are better backed up at the DB level rather than the application level.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.