什么是Heroku数据库副本?
我弄乱了数据库,想回滚。由于我使用的是Heroku Postgress Hobby Basic计划,该计划不支持自动备份,因此我无法恢复任何备份。
heroku pg:backups --app heroku-app-name
此命令给我以下结果:
=== Backups
No backups. Capture one with heroku pg:backups:capture
=== Restores
No restores found. Use heroku pg:backups:restore to restore a backup
=== Copies
ID Started at Status Size From To
──── ─────────────────── ───────────────────────────── ────── ───────── ─────────
c002 2022-06-09 18:53:16 Completed 2022-06-09 18:53:39 3.12MB From Name Target Na
c001 2020-05-27 21:47:47 Completed 2020-05-27 21:48:13 3.12MB DATABASE BLUE
我想知道这些副本是什么,特别是复制c002
代表什么,它包含任何数据,以及是否可以下载/用作某种数据备份。
I messed up with my database and would like to do a rollback. Since I am using Heroku Postgress Hobby Basic plan which doesn't support automatic backups, there is no any backup which I can restore to.
heroku pg:backups --app heroku-app-name
This command gives me following result:
=== Backups
No backups. Capture one with heroku pg:backups:capture
=== Restores
No restores found. Use heroku pg:backups:restore to restore a backup
=== Copies
ID Started at Status Size From To
──── ─────────────────── ───────────────────────────── ────── ───────── ─────────
c002 2022-06-09 18:53:16 Completed 2022-06-09 18:53:39 3.12MB From Name Target Na
c001 2020-05-27 21:47:47 Completed 2020-05-27 21:48:13 3.12MB DATABASE BLUE
I would like to know what are these Copies, specifically what does the copy c002
stand for, does it contain any data and if it can downloaded/used as some kind of a backup.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论