Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们在 Heroku 上的数据库已经增长到需要三个 pgbackups URL 来下载。我知道如何将此数据库备份下载到本地计算机,将各个部分合并在一起并进行恢复,但是如果我想将数据库从一个 Heroku 应用程序复制到另一个应用程序该怎么办?
如果您想从一个应用程序复制另一个应用程序,您应该能够跨应用程序分叉您的数据库。你可以这样做:
heroku addons:add heroku-postgresql:crane --fork HEROKU_POSTGRESQL_SOURCE_OF_OLD_DB_AS_URL --app newapphere