persistence/pgdump.go
func (s *PgDump) Import(lfile io.Reader) (err error) {
	lo.G.Debug("pgdump Import being called")

	if err = s.RemoteOps.UploadFile(lfile); err == nil {
		err = s.restore()
	}
	return
}
func (s *PgDump) Import(lfile io.Reader) (err error) {
	lo.G.Debug("pgdump Import being called")

	if err = s.RemoteOps.UploadFile(lfile); err == nil {
		err = s.restore()
	}
	return
}
//Import - allows us to import a pgdmp file in the form of a reader