josh
i tried restoring the SQL database
- Code: Select all
bash-3.2$ pg_restore -Fc -d ascb omero_ASCB.dump.2Feb12
pg_restore: [archiver] unsupported version (1.12) in file header
then i tried
- Code: Select all
psql -d ascb < omero_ASCB.dump.2Feb12
which outputs
- Code: Select all
ERROR: invalid byte sequence for encoding "UTF8": 0xae
HINT: This error can also happen if the byte sequence does not match the
encoding expected by the server, which is controlled by "client_encoding".
because of this, we changed theencoding of the database but we still got the first error. thus i assumed that i did something wrong. and went back to an older copy omero_ASCB.dump.26Aug11 which was built by a member of omero. we changed the encoding and when we dump it back it wouldn't fully load. specifically, the image table is empty.
have you encountered a similar problem before? do you have any feedback that might help us? we need to restore ascb to extract some ome-tiffs.