Dumping and restoring PostgreSQL databases: a personal cheat sheet