A mi me funciona asi:
Código:
try{
ProcessBuilder pb;
Process p;
pb = new ProcessBuilder("C:/Archivos de programa/PostgreSQL/9.1/bin/pg_dump.exe ", "-i", "-h",
"localhost", "-p", "5432","-U", "postgres", "-F", "c", "-b", "-v" ,"-f",
"C:\\Documents and Settings\\Usuario\\Escritorio\\copia.backup",
"NombreBaseDeDatos");
pb.environment().put("PGPASSWORD", "123456");
pb.redirectErrorStream(true);
p = pb.start();
}catch(Exception ex){
JOptionPane.showMessageDialog(null, ex);
}
Solo cambias los parámetros obviamente.