Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
8cf87ac3
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8cf87ac3
编写于
11月 18, 2001
作者:
T
Tom Lane
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix some typos.
上级
0ad017fc
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
10 addition
and
6 deletion
+10
-6
doc/src/sgml/backup.sgml
doc/src/sgml/backup.sgml
+10
-6
未找到文件。
doc/src/sgml/backup.sgml
浏览文件 @
8cf87ac3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.19 2001/11/18 22:17:30 tgl Exp $ -->
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.20 2001/11/18 22:27:00 tgl Exp $
-->
<chapter id="backup">
<title>Backup and Restore</title>
...
...
@@ -81,10 +83,12 @@ pg_dump <replaceable class="parameter">dbname</replaceable> > <replaceable cl
<important>
<para>
When your database schema relies on OIDs (for instance
s
as foreign
When your database schema relies on OIDs (for instance as foreign
keys) you must instruct <application>pg_dump</> to dump the OIDs
as well. To do this, use the <option>-o</option> command line
option.
option. <quote>Large objects</> are not dumped by default, either.
See <application>pg_dump</>'s command reference page if you use
large objects.
</para>
</important>
...
...
@@ -115,7 +119,7 @@ psql <replaceable class="parameter">dbname</replaceable> < <replaceable class
users, then the dump will instruct <application>psql</> to connect
as each affected user in turn and then create the relevant
objects. This way the original ownership is preserved. This also
means, however, that all these user must already exist, and
means, however, that all these user
s
must already exist, and
furthermore that you must be allowed to connect as each of them.
It might therefore be necessary to temporarily relax the client
authentication settings.
...
...
@@ -123,8 +127,8 @@ psql <replaceable class="parameter">dbname</replaceable> < <replaceable class
<para>
The ability of <application>pg_dump</> and <application>psql</> to
write
or read from pipes also make
it possible to dump a database
direct
or
y from one server to another, for example
write
to or read from pipes makes
it possible to dump a database
direct
l
y from one server to another, for example
<informalexample>
<programlisting>
pg_dump -h <replaceable>host1</> <replaceable>dbname</> | psql -h <replaceable>host2</> <replaceable>dbname</>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录