persistence/mysqldump.go
func (s *MysqlDump) Import(lfile io.Reader) (err error) {
	if err = s.RemoteOps.UploadFile(lfile); err != nil {
		return err
	}

	err = s.restore()
	lo.G.Debug("mysqldump Import called: ", err)

	if err != nil {
		return
	}

	err = s.RemoteOps.RemoveRemoteFile()

	lo.G.Debug("mysqldump remove remote file called: ", err)
	return
}
func (s *MysqlDump) Import(lfile io.Reader) (err error) {
	if err = s.RemoteOps.UploadFile(lfile); err != nil {
		return err
	}

	err = s.restore()
	lo.G.Debug("mysqldump Import called: ", err)

	if err != nil {
		return
	}

	err = s.RemoteOps.RemoveRemoteFile()

	lo.G.Debug("mysqldump remove remote file called: ", err)
	return
}
//Import - will import to mysql from the given reader