上午备份出来
C:\Program Files\PostgreSQL\8.2\bin>pg_dump -f c:\test.sql -U eps demon
下午想做个测试把导出的test.sql导入ceshi数据库中,但是总出错
C:\Program Files\PostgreSQL\8.2\bin>pg_restore -U eps -d ceshi(目标数据库的名称) -h localhost c:\test.sql(已经备份出来的数据库)
这样执行后,出错
pg_restore: [archiver] could not open input file: No such file or directory我的test.sql确实是放在c盘下了!这是怎么回事?请朋友们帮忙