powered by simpleCommunicator - 2.0.59     © 2025 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Другие СУБД [игнор отключен] [закрыт для гостей] / dump в DERBY
1 сообщений из 1, страница 1 из 1
dump в DERBY
    #35310069
IgoX
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
всем привет!
Делаю
java -cp .;derbytools.jar org.apache.derby.tools.dblook -d jdbc:derby:D:\derbyDB -t documents -o dump.sql
В sql получаю дамп только структуры базы а самих данных нет.

D:\dist\lib>java -cp .;derbyTOOLS.jar org.apache.derby.tools.dblook --help
USAGE:
java org.apache.derby.tools.dblook -d <sourceDBUrl> [OPTIONS]
where the source URL is the full URL, including the connection protocol
and any connection attributes that might apply. For example, use
'jdbc:derby:myDB', or 'jdbc:derby://localhost:1527/myDB;user=usr;'.

options include:
-z <schemaName> to specify a schema to which the DDL generation
should be limited. Only database objects with that schema will have
their DDL generated.
-t <tableOne> <tableTwo> ... to specify a list of tables for which
the DDL will be generated; any tables not in the list will be ignored.
-td <value> to specify what should be appended to the end
of each DDL statement.
This defaults to ';'.
-noview to prevent the generation of DDL for views.
-append to keep from overwriting the output files.
-verbose to have error messages printed to the console (in addition
to the log file). If not specified, errors will only be printed to the
log file.
-o <filename> to specify the file name to which the generated DDL
will be written.
If not specified, default is the console.
...
Рейтинг: 0 / 0
1 сообщений из 1, страница 1 из 1
Форумы / Другие СУБД [игнор отключен] [закрыт для гостей] / dump в DERBY
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]