Backup of PostgreSQL database design - without data

前端 未结 4 1697
独厮守ぢ
独厮守ぢ 2021-01-17 08:31

I have tried to find a way to backup my database design without including the data stored in the database. Actually, one might say that I want to have a file that holds all

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-17 08:53

    pg_dump --host localhost --port 5432 --username "userName" --schema-only   --verbose --file "file path" "db_dev_local"
    

提交回复
热议问题