Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 获取错误:配置参数“无法识别”;gp“严格的xml解析”;将备份恢复到5.x Greenplum DB时_Linux_Greenplum - Fatal编程技术网

Linux 获取错误:配置参数“无法识别”;gp“严格的xml解析”;将备份恢复到5.x Greenplum DB时

Linux 获取错误:配置参数“无法识别”;gp“严格的xml解析”;将备份恢复到5.x Greenplum DB时,linux,greenplum,Linux,Greenplum,我目前使用的是4.3.0 GreenPlum版本,现在我想换到5.8.0 GreenPlum版本,这是最新的版本。由于我的旧设置包含大量数据,因此我希望备份和恢复数据 为了备份,我在4.3.0 Greenplum机器上运行了以下命令: gp_dump --gp-d <Backup Location> <DB_Name> 经过一些挖掘,我发现“gp_strict_xml_parse”变量在GreenPlum 5.x版本中不再使用。在备份数据时,是否有办法解决此问题或不包含

我目前使用的是4.3.0 GreenPlum版本,现在我想换到5.8.0 GreenPlum版本,这是最新的版本。由于我的旧设置包含大量数据,因此我希望备份和恢复数据

为了备份,我在4.3.0 Greenplum机器上运行了以下命令:

gp_dump --gp-d <Backup Location> <DB_Name>

经过一些挖掘,我发现“gp_strict_xml_parse”变量在GreenPlum 5.x版本中不再使用。在备份数据时,是否有办法解决此问题或不包含此变量?

Greenplum版本5.x.x.x没有gp\u strict\u xml\u parse参数


在中,在上面Gurupreet的回复中添加:

有关详细信息,请参见Greenplum 5.x各版本的发行说明

gp_restore --gp-d <Backup Location> --gp-k <Timestmap Key generated while creating backup> -d <DB_Name>
20180607:10:28:12|gp_restore-[INFO]:-Analyzed command line options.
20180607:10:28:12|gp_restore-[INFO]:-Connecting to master segment on host localhost port 5432 database dadb.
20180607:10:28:12|gp_restore-[INFO]:-Reading Greenplum Database configuration info from master segment database.
20180607:10:28:12|gp_restore-[INFO]:-Preparing to restore the following segments:
20180607:10:28:12|gp_restore-[INFO]:-Segment 0 (dbid 2)
20180607:10:28:12|gp_restore-[INFO]:-Master (dbid 1)
20180607:10:28:12|gp_restore-[INFO]:-Starting to restore the master database.
20180607:10:28:12|gp_restore-[INFO]:-Creating thread to restore master database: host sjcinf6801vmw749 port 5432 database dadb
20180607:10:28:12|gp_restore-[INFO]:-Listening for messages from dbid 1 server (source) for dbid 1 restore
20180607:10:28:12|gp_restore-[INFO]:-Successfully launched Greenplum Database restore on dbid 1 to restore dbid 1
20180607:10:28:14|gp_restore-[INFO]:-restore started for source dbid 1, target dbid 1 on host sjcinf6801vmw749
20180607:10:28:14|gp_restore-[ERROR]:-restore failed for source dbid 1, target dbid 1 on host sjcinf6801vmw749
20180607:10:28:14|gp_restore-[ERROR]:-see error report for details
20180607:10:28:14|gp_restore-[INFO]:-Report results also written to ./gp_restore_20180607102011.rpt.

Greenplum Database Restore Report
Timestamp Key: 20180607102011
gp_restore Command Line: --gp-d /usr/ab/ --gp-k 20180607102011 -d dadb
Pass through Command Line Options: None
Compression Program: None

Individual Results
        Restore of database "dadb" on Master database: Failed with error:
{ERROR:  unrecognized configuration parameter "gp_strict_xml_parse"
cat: write error: Broken pipe
20180607:10:28:14|gp_restore_agent-[ERROR]:-psql finished abnormally with return code 3.
20180607:10:28:14|gp_restore_agent-[ERROR]:-Finished with errors
}