加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ruby – heroku db:拉不行?

发布时间:2020-12-16 21:37:53 所属栏目:百科 来源:网络整理
导读:我收到以下错误信息: heroku db:pull --debug postgres://USERNAME:PASSWORD@localhost/test Loaded Taps v0.3.23Warning: Data in the database 'postgres://USERNAME:PASSWORD@localhost/test' will be overwritten and will not be recoverable.Receivin
我收到以下错误信息:
heroku db:pull --debug postgres://USERNAME:PASSWORD@localhost/test 
Loaded Taps v0.3.23
Warning: Data in the database 'postgres://USERNAME:PASSWORD@localhost/test' will be overwritten and will not be recoverable.
Receiving schema
Unable to fetch tables information from http://heroku:foo9dsfsdfsdb465ar@taps19.heroku.com. Please check the server log.

上面的命令不会在日志中产生任何可以使用’heroku日志’查看的消息.

任何想法我做错了什么?

解决方法

使用pgbackup而不是tap / db:pull

http://devcenter.heroku.com/articles/pgbackups

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读