Postgresql的数据备份?
我在psql下怎样用命令执行?

解决方案 »

  1.   

    PG没有SQL级的备份语句
    不过他提供了一个备份程序,叫PG_DUMP
      

  2.   

    请教一下 trainee(春泥) mysql怎么在vc#里备份  有sql语句database backup吗
      

  3.   

    postgresql 使用pg_dump备份程序导出一个数据库或导出一张表示例:pg_dump -d database -U postgres -f database.sql到入数据库newdatabase
    # create database newdatabase
    $psql -d newdatabase -U postgres -f database.sql也可以用
    #psql datebasename < data.sql
    但是用-U -W无法输入用户密码(windows)。