简体   繁体   English

将数据库中的更改(PostgreSQL)更新为远程备份数据库

[英]Updating changes in database(postgresql) to remote backup database

I have created a postgresql database backup on AWS Linux using pg_dump . 我已经使用pg_dump在AWS Linux上创建了一个postgresql数据库备份。 Now i want to commit only the changes made in the database after the backup to the backup database without having to pd_dump the entire database , so as to maintain consistency. 现在,我只想提交备份到备份数据库后在数据库中所做的更改,而不必pd_dump整个数据库,以保持一致性。

Is there a way to commit only the changes and not the entire database / table. 有没有办法只提交更改而不提交整个数据库/表。 Also if there isn't a solution then is there any other alternative i could use to address the problem at hand. 另外,如果没有解决方案,那么我还有其他选择可以用来解决当前的问题。 I'm using postgresql v 9.5. 我正在使用PostgreSQL v 9.5。 Are there any third party software that i could use ? 我可以使用任何第三方软件吗? Any help would be much appreciated. 任何帮助将非常感激。

As mentioned by Prashant; 如Prashant所述; this could be achieved using pgbarman tool. 这可以使用pgbarman工具来实现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM