Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Частичный backup
|
|||
|---|---|---|---|
|
#18+
Задача - делать периодический бэкап определённой таблицы. Сижу читаю документацию. Такой возможности пока не вижу. Но почему-то никак не покидает стойкое ощущение того, что как-то это дело сделать можно. То-ли где-то в документации прочитал, то-ли прочитал, но не так понял... Ткните носом в раздел, если такой бэкап возможен. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.11.2008, 13:46 |
|
||
|
Частичный backup
|
|||
|---|---|---|---|
|
#18+
http://www.postgresql.org/docs/current/static/backup.html http://www.postgresql.org/docs/current/static/app-pgdump.html автор-t table --table=table Dump only tables (or views or sequences) matching table. 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. The -n and -N switches have no effect when -t is used, because tables selected by -t will be dumped regardless of those switches, and non-table objects will not be dumped. Note: When -t is specified, pg_dump makes no attempt to dump any other database objects that the selected table(s) might depend upon. Therefore, there is no guarantee that the results of a specific-table dump can be successfully restored by themselves into a clean database. Note: The behavior of the -t switch is not entirely upward compatible with pre-8.2 PostgreSQL versions. Formerly, writing -t tab would dump all tables named tab, but now it just dumps whichever one is visible in your default search path. To get the old behavior you can write -t '*.tab'. Also, you must write something like -t sch.tab to select a table in a particular schema, rather than the old locution of -n sch -t tab. -- „Истина — это вовсе не то, что можно убедительно доказать, это то, что делает всё проще и понятнее“ — Антуан де Сент-Экзюпери ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.11.2008, 14:15 |
|
||
|
|

start [/forum/topic.php?fid=53&msg=35637699&tid=2003900]: |
0ms |
get settings: |
7ms |
get forum list: |
13ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
36ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
45ms |
get tp. blocked users: |
1ms |
| others: | 228ms |
| total: | 346ms |

| 0 / 0 |
