Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/jsf/5.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
Postgresql vCSA 5.5 vPostgres备份例程_Postgresql_Vmware_Database Backups_Vsphere_Vcenter - Fatal编程技术网

Postgresql vCSA 5.5 vPostgres备份例程

Postgresql vCSA 5.5 vPostgres备份例程,postgresql,vmware,database-backups,vsphere,vcenter,Postgresql,Vmware,Database Backups,Vsphere,Vcenter,我想在vCenter server virtual appliance 5.5上的/etc/cron.*中保存一个bourne shell脚本,以备份vpostgres(VMware vCenter postgresql数据库) 建议在备份之前停止vpxd服务。 我想防止在不一致的状态下备份数据库(当vcenter操作正在运行时) 但是,精度: 我的问题是: 备份数据库之前是否需要停止VMWare Composer和vpxd服务 如果没有,我可以使用cpio进行备份而不停止服务吗?怎么做

我想在vCenter server virtual appliance 5.5上的/etc/cron.*中保存一个bourne shell脚本,以备份vpostgres(VMware vCenter postgresql数据库)

建议在备份之前停止vpxd服务。 我想防止在不一致的状态下备份数据库(当vcenter操作正在运行时)

但是,精度:

我的问题是:

  • 备份数据库之前是否需要停止VMWare Composer和vpxd服务
  • 如果没有,我可以使用cpio进行备份而不停止服务吗?怎么做
请选择PostgreSQL或VMware专家解答。

您可能会注意到,备份数据库时不会停止VPXD服务。这是因为PostgreSQL官方文档的精确性:“pg_dump是一个用于备份PostgreSQL数据库的实用程序。即使同时使用数据库,它也会进行一致的备份。”