Aurora PG13 to PG14 Migration:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<pre> | |||
直接获取 AWS 官方 RDS PG14 默认全部参数(不需要任何权限) | |||
aws ssm get-parameters-by-path \ | |||
--path /aws/rds/parameter/postgres14/ \ | |||
--region ap-east-1 \ | |||
--no-sign-request \ | |||
--output json > pg14-default-parameters.json | |||
</pre> | |||
=回滚方案= | =回滚方案= | ||
| 第16行: | 第27行: | ||
</pre> | </pre> | ||
[[category:AWS]] | |||
2026年4月2日 (四) 06:52的版本
直接获取 AWS 官方 RDS PG14 默认全部参数(不需要任何权限) aws ssm get-parameters-by-path \ --path /aws/rds/parameter/postgres14/ \ --region ap-east-1 \ --no-sign-request \ --output json > pg14-default-parameters.json
回滚方案
能从快照恢复:
RDS → 快照 → 选中升级前的快照
恢复为新实例(或覆盖原实例)
恢复后版本回到 PG13
aws cli
aws rds restore-db-instance-from-db-snapshot \
--db-instance-identifier YOUR_DB_NAME_RESTORE \
--db-snapshot-identifier before-pg14-upgrade \
--region ap-east-1