pg_dump -t sysbench sbtest1_500 > /opt/willynew/newhubble/pg.sql
URL必须使用以下格式:
[scheme]://[host]/[path]?[parameters]
类型 | schema | host | 参数 | 示例 |
---|---|---|---|---|
http | http | 主机地址 | N/A | http://localhost:8080/mydatest.sql |
NFS/Local | nodelocal | 节点ID或为空 | N/A | nodelocal:///path/mydatest,nodelocal://2/path/mydatest |
create database if not exists sysbench;
use sysbench;
import pgdump 'http://localhost:3000/pg.sql';
pg_dump sysbench> /opt/willynew/newhubble/sysbenchdb.sql
create database if not exists sysbench;
use sysbench;
import pgdump 'http://localhost:3000/sysbenchdb.sql';