cat$BACKUPDIR/xtrabackup_info | grep binlog_pos | awk-F, '{ print $3 }' | sed-e's/GTID of the last change/set sql_log_bin=0;set global gtid_slave_pos=/g' | mysql -h{{ parameter_dict['ip']}}-P{{ parameter_dict['port']}}-p$PASSWORD-u$USER
cat$BACKUPDIR/xtrabackup_info | grep binlog_pos | awk-F, '{ print $3 }' | sed-e's/GTID of the last change/set sql_log_bin=0;set global gtid_slave_pos=/g' | mysql -h{{ parameter_dict['ip']}}-P{{ parameter_dict['port']}}-p$PASSWORD-u$DBUSER
TASK=($(echo"select concat(id,'@',server,':',port) from replication_manager_schema.jobs WHERE task='$job' and done=0 order by task desc limit 1" | mysql -h{{ parameter_dict['ip']}}-P{{ parameter_dict['port']}}-p$PASSWORD-u$USER-N))
TASK=($(echo"select concat(id,'@',server,':',port) from replication_manager_schema.jobs WHERE task='$job' and done=0 order by task desc limit 1" | mysql -h{{ parameter_dict['ip']}}-P{{ parameter_dict['port']}}-p$PASSWORD-u$DBUSER-N))