---
title: "ترقية قاعدة بيانات Postgres باستخدام Homebrew"
description: "لترقية Postgres يمكنكم تشغيل"
canonical: https://oozou.com/til/upgrade-postgres-database-with-homebrew-76
locale: ar
date: 2020-10-22
topic: shell
---

# ترقية قاعدة بيانات Postgres باستخدام Homebrew

> لترقية Postgres يمكنكم تشغيل

Published: 2020-10-22 · Topic: [shell](https://oozou.com/ar/til-topics/shell) ([markdown](https://oozou.com/ar/til-topics/shell.md))

لترقية Postgres يمكنكم تشغيل

```shell
brew upgrade postgresql
```

بعد ذلك ستحتوي قواعد بياناتكم الحالية على بيانات غير متوافقة مع ملف Postgres التنفيذي الجديد. عادةً تحتاجون إلى استخدام pg\_update وتمرير الملفات التنفيذية الصحيحة لترحيل البيانات، لكن brew يتضمن سكربت ترقية يحدّث البيانات نيابة عنكم.

```shell
brew postgresql-upgrade-database
```

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/ar/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
