implemented restore for pgsql, mysql, gzip, added TODOs for pgp and scp modules