|
pg_dump одной partition таблицы
|
|||
---|---|---|---|
#18+
Здравствуйте! Подскажите как сделать бекап одной таблицы partition. Делаю как обычные таблицы, копирует только структуру, данных нет. Спасибо! ... |
|||
:
Нравится:
Не нравится:
|
|||
11.02.2017, 13:08 |
|
pg_dump одной partition таблицы
|
|||
---|---|---|---|
#18+
995533, если Код: sql 1.
даёт пустой результат, то бекап, коректный. ... |
|||
:
Нравится:
Не нравится:
|
|||
11.02.2017, 13:19 |
|
pg_dump одной partition таблицы
|
|||
---|---|---|---|
#18+
Документацию читать ни кто не отменял : -t table --table=table Dump only tables with names matching table. For this purpose, “table” includes views, materialized views, sequences, and foreign tables. Multiple tables can be selected by writing multiple -t switches. Also, the table parameter is interpreted as a pattern according to the same rules used by psql's \d commands (see Patterns), so multiple tables can also be selected by writing wildcard characters in the pattern. When using wildcards, be careful to quote the pattern if needed to prevent the shell from expanding the wildcards; see EXAMPLES. ... |
|||
:
Нравится:
Не нравится:
|
|||
11.02.2017, 22:47 |
|
|
start [/forum/topic.php?fid=53&msg=39402833&tid=1996712]: |
0ms |
get settings: |
8ms |
get forum list: |
12ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
33ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
45ms |
get tp. blocked users: |
2ms |
others: | 330ms |
total: | 451ms |
0 / 0 |