postgresql - 新的 Heroku pg :backups public-url provide? 是什么类型的文件

标签 postgresql heroku

我正在使用 Heroku's new PGBackups功能,我使用了 public-url 命令来 download a backup .该文件不是我习惯的格式。我期待一个可以用 Vim 或其他文本编辑器打开的 pg_dump 文件。有谁知道 public-url 产生的文件是什么?

最佳答案

pg_dump -Fc "custom" format

c

custom

Output a custom-format archive suitable for input into pg_restore. Together with the directory output format, this is the most flexible output format in that it allows manual selection and reordering of archived items during restore. This format is also compressed by default.

关于postgresql - 新的 Heroku pg :backups public-url provide? 是什么类型的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29156024/

相关文章:

python - 我如何在 Heroku 上使用 web2py?

ruby-on-rails - 当我推送 Heroku 时,Sqlite3 出现问题

javascript - Heroku 上的 Node.js?

postgresql - 具有 Entity Framework 核心的 Npgsql 连接字符串

postgresql - 恢复 Windows 7 32 位操作系统上安装的 postgresql 9.1 中的 .gz 备份文件

database - IMMUTABLE、STABLE 和 VOLATILE 关键字如何影响函数的行为?

mysql - 将记录从 PostgreSQL 导入到 MySQL

ruby-on-rails - 在 Rails 6 和 Puma 上仍然需要工作启动时建立连接吗?

python - 如何仅在 Heroku https 上制作 python?

postgresql - Postgres 表空间检测是 linux 还是 windows