# Undertake an upgrade and make db backup

**URL:** <https://talk.getindico.io/t/undertake-an-upgrade-and-make-db-backup/500>\
**Category:** Administrators\
**Created:** [July 5, 2018, 8:28am UTC](https://talk.getindico.io/t/undertake-an-upgrade-and-make-db-backup/500 "2018-07-05T08:28:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![toufa123](https://talk.getindico.io/user_avatar/talk.getindico.io/toufa123/32/83_2.png) [@toufa123](https://talk.getindico.io/u/toufa123)\
**Post date:** [July 5, 2018, 8:28am UTC](https://talk.getindico.io/t/undertake-an-upgrade-and-make-db-backup/500/1 "2018-07-05T08:28:51Z")

</div>

hi is there a way to back up restore the indico data base before upgrade and retore in case of problem  
thanks

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [July 5, 2018, 8:31am UTC](https://talk.getindico.io/t/undertake-an-upgrade-and-make-db-backup/500/2 "2018-07-05T08:31:42Z")

</div>

Yes, you can use `pg_dump` to create a database backup:

```
pg_dump indico -Fc -f /path/to/backup.dump
```
