Ubuntu 14.04 64bit + postgresql 9.4 are used here;
What I have done are:
1,Sign In ubuntu by user alex
2,then:sudo -i -u postgres
3,then:psql jump into command client
4,then: create database icare;
5,then: \q jump out command client
6,then run: exit jump out psql
7,then pg_restore --clean --create --exit-on-error --dbname=icare icare-test.tar