提交 83ff0d71 编写于 作者: A Andreas Scherbaum 提交者: Andreas Scherbaum

Update date ranges in admin utilities to something more recent (#2687)

上级 f424ea62
......@@ -428,35 +428,35 @@
<codeblock>gpdbrestore -s sales</codeblock>
<p>Restore a database from backup files that reside on an archive host outside the Greenplum
Database array (command issued on the Greenplum master host):</p>
<codeblock>gpdbrestore -R archivehostname:/data_p1/db_dumps/20080214</codeblock>
<codeblock>gpdbrestore -R archivehostname:/data_p1/db_dumps/20160214</codeblock>
<p>Restore global objects only (roles and tablespaces):</p>
<codeblock>gpdbrestore -G</codeblock>
<note>The <codeph>-R</codeph> option is not supported when restoring a backup set that
includes incremental backups.</note>
<p>If you restore from a backup set that contains an incremental backup, all the files in the
backup set must be available to <codeph>gpdbrestore</codeph>. For example, the following
timestamp keys specify a backup set. 20120514054532 is the full backup and the others are
timestamp keys specify a backup set. 20160514054532 is the full backup and the others are
incremental.</p>
<pre>20120514054532
20120714095512
20120914081205
20121114064330
20130114051246</pre>
<pre>20160514054532
20160714095512
20150914081205
20161114064330
20170114051246</pre>
<p>The following <codeph>gbdbrestore</codeph> command specifies the timestamp key
20121114064330. The incremental backup with the timestamps 20120714095512 and 20120914081205
20161114064330. The incremental backup with the timestamps 20160714095512 and 20160914081205
and the full backup must be available to perform a restore.</p>
<codeblock>gpdbrestore -t 20121114064330</codeblock>
<codeblock>gpdbrestore -t 20161114064330</codeblock>
<p>The following <codeph>gbdbrestore</codeph> command uses the <codeph>--noplan</codeph>
option to restore only the data that was backed up during the incremental backup with the
timestamp key 20121114064330. Data in the previous incremental backups and the data in the
timestamp key 20161114064330. Data in the previous incremental backups and the data in the
full backup are not restored.</p>
<codeblock>gpdbrestore -t 20121114064330 --noplan</codeblock>
<codeblock>gpdbrestore -t 20161114064330 --noplan</codeblock>
<p>This gpdbrestore command restores Greenplum Database data from the data managed by
NetBackup master server <codeph>nbu_server1</codeph>. The option <codeph>-t
20130530090000</codeph> specifies the timestamp generated by <codeph>gpcrondump</codeph>
20170530090000</codeph> specifies the timestamp generated by <codeph>gpcrondump</codeph>
when the backup was created. The <codeph>-e</codeph> option specifies that the target
database is dropped before it is restored.</p>
<codeblock>gpdbrestore -t 20130530090000 -e --netbackup-service-host=nbu_server1</codeblock>
<codeblock>gpdbrestore -t 20170530090000 -e --netbackup-service-host=nbu_server1</codeblock>
</section>
<section id="section8">
<title>See Also</title>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册