如何从使用Heroku PG备份制作的备份恢复三个项目? [英] How do I restore three items from a backup made using Heroku PG Backups?
本文介绍了如何从使用Heroku PG备份制作的备份恢复三个项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想从备份中恢复三条记录。
p>如何恢复这三条记录?
解决方案
创建一个新的数据库,将pgbackup加载到它,然后樱桃选择你想要的。
I've got a Rails app running on Heroku and installed the free pgbackups addon.
There's three records I'd like to restore from the backup.
According to Heroku docs when you do a restore, it restores the whole database.
How do I restore just these three records?
解决方案
Create a new database, load the pgbackup into it, and then cherry pick what you want out of it.
这篇关于如何从使用Heroku PG备份制作的备份恢复三个项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文