Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add --clean option to pg-restore

Riccardo Gagliarducci19334181767f
diff --git a/docs/installation-and-operations/misc/migration/README.md b/docs/installation-and-operations/misc/migration/README.md
index c6bc36d3018..683795b5308 100644
--- a/docs/installation-and-operations/misc/migration/README.md
+++ b/docs/installation-and-operations/misc/migration/README.md
@@ -60,7 +60,7 @@ First the dump has to be extracted (unzipped) and then restored. The command use
```
# Restore the PostgreSQL dump
-pg_restore -h <dbhost> -u <dbuser> -W <dbname> postgresql-dump-20180408095521.pgdump
+pg_restore -h <dbhost> -u <dbuser> -W <dbname> --clean postgresql-dump-20180408095521.pgdump
```