request_method:GET
url:http://192.168.72.70:58080/api/fsp/recovery/dir_list?bk_uuid=F85DFEC0-149E-373D-0B9E-3DA9A5C43940&dst_path=%2Ffsp_bk%2F192.168.71.77_26821%2F20190111113656%2F&fsp_uuid=&_=0.68282566031797
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'hd_list' => 
    array (
      0 => 
      array (
        'label' => '/',
        'is_system' => 1,
      ),
    ),
    'dir_list' => 
    array (
      0 => 
      array (
        'bk_path' => '/',
        'type' => '1',
      ),
      1 => 
      array (
        'bk_path' => '/bin/',
        'type' => '0',
      ),
      2 => 
      array (
        'bk_path' => '/boot/',
        'type' => '0',
      ),
      3 => 
      array (
        'bk_path' => '/etc/',
        'type' => '0',
      ),
      4 => 
      array (
        'bk_path' => '/lib/',
        'type' => '0',
      ),
      5 => 
      array (
        'bk_path' => '/lib64/',
        'type' => '0',
      ),
      6 => 
      array (
        'bk_path' => '/root/',
        'type' => '0',
      ),
      7 => 
      array (
        'bk_path' => '/sbin/',
        'type' => '0',
      ),
      8 => 
      array (
        'bk_path' => '/usr/bin/',
        'type' => '0',
      ),
      9 => 
      array (
        'bk_path' => '/usr/lib/',
        'type' => '0',
      ),
      10 => 
      array (
        'bk_path' => '/usr/lib64/',
        'type' => '0',
      ),
      11 => 
      array (
        'bk_path' => '/usr/libexec/',
        'type' => '0',
      ),
      12 => 
      array (
        'bk_path' => '/usr/local/',
        'type' => '0',
      ),
      13 => 
      array (
        'bk_path' => '/usr/sbin/',
        'type' => '0',
      ),
      14 => 
      array (
        'bk_path' => '/var/lib/nfs/',
        'type' => '0',
      ),
    ),
    'os_type' => 0,
  ),
  1 => NULL,
)

Time: 841 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/fsp/recovery/nic_list?bk_uuid=F85DFEC0-149E-373D-0B9E-3DA9A5C43940&dst_path=%2Ffsp_bk%2F192.168.71.77_26821%2F20190111113656%2F&wk_uuid=42614852-BB62-1EF7-FED0-D2354BF3149D&_=0.59994837786844
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'wk_nic_list' => 
    array (
      0 => 
      array (
        'name' => 'eth2',
        'type' => '0',
        'ip' => '192.168.71.77/255.255.240.0',
        'gw' => '192.168.64.1',
        'dns' => '210.22.84.3',
      ),
      1 => 
      array (
        'name' => 'virbr0',
        'type' => '0',
        'ip' => '192.168.122.1/255.255.255.0',
        'gw' => '0.0.0.0',
        'dns' => '210.22.84.3',
      ),
      2 => 
      array (
        'name' => 'virbr0-nic',
        'type' => '0',
        'ip' => '0.0.0.0/0.0.0.0',
        'gw' => '0.0.0.0',
        'dns' => '210.22.84.3',
      ),
    ),
    'bk_nic_list' => 
    array (
      0 => 
      array (
        'name' => 'eth2',
        'type' => '0',
        'ip' => '192.168.71.77/255.255.240.0',
        'gw' => '192.168.64.1',
        'dns' => '210.22.84.3',
      ),
      1 => 
      array (
        'name' => 'virbr0',
        'type' => '0',
        'ip' => '192.168.122.1/255.255.255.0',
        'gw' => '0.0.0.0',
        'dns' => '210.22.84.3',
      ),
      2 => 
      array (
        'name' => 'virbr0-nic',
        'type' => '0',
        'ip' => '0.0.0.0/0.0.0.0',
        'gw' => '0.0.0.0',
        'dns' => '210.22.84.3',
      ),
    ),
  ),
  1 => NULL,
)

Time: 781 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/fsp/recovery/point_list?bk_uuid=F85DFEC0-149E-373D-0B9E-3DA9A5C43940&rc_data_path=%2Ffsp_bk%2F192.168.71.77_26821%2F&_=0.19933425666186
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'point_list' => 
    array (
      0 => '20190111113656',
    ),
  ),
  1 => NULL,
)

Time: 706 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"sync_item":"\/","bk_uuid":"F85DFEC0-149E-373D-0B9E-3DA9A5C43940","wk_uuid":"42614852-BB62-1EF7-FED0-D2354BF3149D","dst_path":"\/fsp_bk\/192.168.71.77_26821\/20190111113656\/"}
url:http://192.168.72.70:58080/api/fsp/recovery/verify_volume_space
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'wk_vol_list' => 
    array (
      0 => 
      array (
        'label' => '/',
        'is_system' => 1,
        'size' => 2,
        'free' => 1,
      ),
    ),
    'bk_vol_list' => 
    array (
      0 => 
      array (
        'label' => '/',
        'is_system' => 1,
        'size' => 3,
        'free' => 2,
      ),
    ),
  ),
  1 => NULL,
)

Time: 622 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"bk_uuid":"F85DFEC0-149E-373D-0B9E-3DA9A5C43940","wk_uuid":"42614852-BB62-1EF7-FED0-D2354BF3149D"}
url:http://192.168.72.70:58080/api/fsp/recovery/verify_old_rule
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
  ),
  1 => NULL,
)

Time: 781 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"wk_uuid":"42614852-BB62-1EF7-FED0-D2354BF3149D"}
url:http://192.168.72.70:58080/api/fsp/recovery/verify_license
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
  ),
  1 => NULL,
)

Time: 832 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"dst_path":"\/fsp_bk\/192.168.71.77_26821\/20190111113656\/","wk_uuid":"F85DFEC0-149E-373D-0B9E-3DA9A5C43940","bk_uuid":"42614852-BB62-1EF7-FED0-D2354BF3149D"}
url:http://192.168.72.70:58080/api/fsp/recovery/verify_os_version
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'wk_os_ver' => 'Red Hat 6.5 x86_64',
    'bk_os_ver' => 'Red Hat 6.5 x86_64',
  ),
  1 => NULL,
)

Time: 758 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"fsp_recovery":{"dst_path":"\/fsp_bk\/192.168.71.77_26821\/20190111113656\/","monitor_type":0,"encrypt_switch":"0","net_mapping":[],"wk_uuid":"42614852-BB62-1EF7-FED0-D2354BF3149D","mirr_sync_attr":"1","secret_key":"","bk_path":["\/fsp_bk\/192.168.71.77_26821\/20190111113656\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/bin\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/boot\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/etc\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/lib\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/lib64\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/root\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/sbin\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/usr\/bin\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/usr\/lib\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/usr\/lib64\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/usr\/libexec\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/usr\/local\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/usr\/sbin\/","\/fsp_bk\/192.168.71.77_26821\/20190111113656\/var\/lib\/nfs\/"],"band_width":"","fsp_name":"testRC","bk_uuid":"F85DFEC0-149E-373D-0B9E-3DA9A5C43940","net_mapping_type":"2","mirr_open_type":"0","restore_point":"20190111113656","mirr_file_check":"0","compress":"0","service_uuid":"","excl_path":[],"wk_path":["\/","\/I2FFO\/bin\/","\/I2FFO\/boot\/","\/I2FFO\/etc\/","\/I2FFO\/lib\/","\/I2FFO\/lib64\/","\/I2FFO\/root\/","\/I2FFO\/sbin\/","\/I2FFO\/usr\/bin\/","\/I2FFO\/usr\/lib\/","\/I2FFO\/usr\/lib64\/","\/I2FFO\/usr\/libexec\/","\/I2FFO\/usr\/local\/","\/I2FFO\/usr\/sbin\/","\/I2FFO\/var\/lib\/nfs\/"],"mirr_sync_flag":"0","fsp_wk_shut_flag":"2","sync_item":"\/","failover":"2","fsp_type":"5"}}
url:http://192.168.72.70:58080/api/fsp/recovery
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
  ),
  1 => NULL,
)

Time: 1.78 seconds, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/fsp/recovery/11111111-1111-1111-1111-111111111111
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'fsp_recovery' => 
    array (
      'id' => '5',
      'auto_start' => '0',
      'band_width' => '',
      'bkup_one_time' => NULL,
      'bkup_policy' => 2,
      'bkup_schedule' => NULL,
      'compress' => '0',
      'cmp_file_check' => '0',
      'cmp_schedule' => NULL,
      'cmp_switch' => '0',
      'create_time' => '1547183804',
      'encrypt_switch' => '0',
      'mirr_file_check' => '0',
      'mirr_open_type' => '0',
      'mirr_sync_attr' => '1',
      'mirr_sync_flag' => '0',
      'mirr_skip' => '0',
      'random_str' => '11111111-1111-1111-1111-111111111111',
      'secret_key' => '',
      'snapshot_interval' => '24',
      'snapshot_limit' => '2',
      'snapshot_policy' => '0',
      'snapshot_start' => NULL,
      'snapshot_switch' => '0',
      'bk_path_policy' => '0',
      'uuid' => '11111111-1111-1111-1111-111111111111',
      'wk_node_name' => '71.77',
      'bk_node_name' => '71.78',
      'wk_ip' => '192.168.71.77',
      'wk_port' => '26821',
      'bk_ip' => '192.168.71.78',
      'bk_port' => '26821',
      'username' => 'admin',
      'backup_type' => '0',
      'boot_time' => NULL,
      'excl_path' => 
      array (
      ),
      'failover' => '2',
      'fsp_name' => 'testRC',
      'fsp_type' => 5,
      'fsp_uuid' => '11111111-1111-1111-1111-111111111111',
      'fsp_wk_shut_flag' => '2',
      'wk_path' => 
      array (
        0 => '/',
        1 => '/I2FFO/bin/',
        2 => '/I2FFO/boot/',
        3 => '/I2FFO/etc/',
        4 => '/I2FFO/lib/',
        5 => '/I2FFO/lib64/',
        6 => '/I2FFO/root/',
        7 => '/I2FFO/sbin/',
        8 => '/I2FFO/usr/bin/',
        9 => '/I2FFO/usr/lib/',
        10 => '/I2FFO/usr/lib64/',
        11 => '/I2FFO/usr/libexec/',
        12 => '/I2FFO/usr/local/',
        13 => '/I2FFO/usr/sbin/',
        14 => '/I2FFO/var/lib/nfs/',
      ),
      'wk_data_type' => 1,
      'heartbeat' => '10',
      'max_fail_times' => '6',
      'monitor_ips' => '',
      'monitor_type' => 0,
      'move_type' => NULL,
      'net_mapping' => 
      array (
      ),
      'net_mapping_type' => '2',
      'post_over_script' => '/fsp_bk/192.168.71.77_26821/20190111113656/',
      'pre_over_script' => '/fsp_bk/192.168.71.77_26821/20190111113656/',
      'recovery_data_path' => NULL,
      'restore_point' => '20190111113656',
      'running_service' => 
      array (
        0 => 'sshd',
      ),
      'snapshot' => '0',
      'wk_uuid' => '42614852-BB62-1EF7-FED0-D2354BF3149D',
      'status' => 'M_STOP',
      'sync_item' => '/',
      'bk_path' => 
      array (
        0 => '/fsp_bk/192.168.71.77_26821/20190111113656/',
        1 => '/fsp_bk/192.168.71.77_26821/20190111113656/bin/',
        2 => '/fsp_bk/192.168.71.77_26821/20190111113656/boot/',
        3 => '/fsp_bk/192.168.71.77_26821/20190111113656/etc/',
        4 => '/fsp_bk/192.168.71.77_26821/20190111113656/lib/',
        5 => '/fsp_bk/192.168.71.77_26821/20190111113656/lib64/',
        6 => '/fsp_bk/192.168.71.77_26821/20190111113656/root/',
        7 => '/fsp_bk/192.168.71.77_26821/20190111113656/sbin/',
        8 => '/fsp_bk/192.168.71.77_26821/20190111113656/usr/bin/',
        9 => '/fsp_bk/192.168.71.77_26821/20190111113656/usr/lib/',
        10 => '/fsp_bk/192.168.71.77_26821/20190111113656/usr/lib64/',
        11 => '/fsp_bk/192.168.71.77_26821/20190111113656/usr/libexec/',
        12 => '/fsp_bk/192.168.71.77_26821/20190111113656/usr/local/',
        13 => '/fsp_bk/192.168.71.77_26821/20190111113656/usr/sbin/',
        14 => '/fsp_bk/192.168.71.77_26821/20190111113656/var/lib/nfs/',
      ),
      'bk_uuid' => 'F85DFEC0-149E-373D-0B9E-3DA9A5C43940',
      'bk_data_type' => 1,
      'user_uuid' => '1BCFCAA3-E3C8-3E28-BDC5-BE36FDC2B5DC',
      'biz_grp_list' => 
      array (
      ),
      'biz_grp_name' => 
      array (
      ),
    ),
  ),
  1 => NULL,
)

Time: 1.47 seconds, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:DELETE
body:{"fsp_uuids":["11111111-1111-1111-1111-111111111111"]}
url:http://192.168.72.70:58080/api/fsp/recovery
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
  ),
  1 => NULL,
)

Time: 873 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/fsp/recovery?search_value=&search_field=&page=1&limit=10&_=0.98619157435581
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'info_list' => 
    array (
      0 => 
      array (
        'band_width' => '',
        'bk_path_policy' => '0',
        'random_str' => '11111111-1111-1111-1111-111111111111',
        'wk_node_name' => '71.77',
        'bk_node_name' => '71.78',
        'username' => 'admin',
        'bk_uuid' => 'F85DFEC0-149E-373D-0B9E-3DA9A5C43940',
        'fsp_name' => 'testRC',
        'fsp_type' => 5,
        'fsp_uuid' => '11111111-1111-1111-1111-111111111111',
        'wk_uuid' => '42614852-BB62-1EF7-FED0-D2354BF3149D',
      ),
    ),
    'total' => 1,
  ),
  1 => NULL,
)

Time: 601 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"fsp_uuids":["11111111-1111-1111-1111-111111111111"],"operate":"start"}
url:http://192.168.72.70:58080/api/fsp/recovery/operate
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'success_list' => 
    array (
      0 => 
      array (
        'code' => 0,
        'message' => '[0] success',
        'fsp_uuid' => '11111111-1111-1111-1111-111111111111',
      ),
    ),
  ),
  1 => NULL,
)

Time: 648 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"fsp_uuids":["11111111-1111-1111-1111-111111111111"],"operate":"stop"}
url:http://192.168.72.70:58080/api/fsp/recovery/operate
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'success_list' => 
    array (
      0 => 
      array (
        'code' => 0,
        'message' => '[0] success',
        'fsp_uuid' => '11111111-1111-1111-1111-111111111111',
      ),
    ),
  ),
  1 => NULL,
)

Time: 684 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/fsp/recovery/status?fsp_uuids[]=11111111-1111-1111-1111-111111111111&_=0.47227153072289
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'status' => 
    array (
      0 => 
      array (
        'fsp_uuid' => '11111111-1111-1111-1111-111111111111',
        'status' => 'M_STOP',
      ),
    ),
  ),
  1 => NULL,
)

Time: 652 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0