in our office we have a development database server that runs Debian 5, on this server we had a postgresql 8.1 running but because of the lack of internet access from the server we backed up with pg_dump_all the entire cluster, but the dump file is lost then we installed many versions and neither 8.1 version itself recognize the database cluster, so my question is, theres a way to reinstall the same postgres 8.1 and tell him to take the old cluster from data folder? or the backup should be via the dump file only? i only have the data folder but neither the 9.2, 8.4, or the same 8.1 can recognize the cluster. this is the error im getting while trying to initialize the same cluster with pg 8.1
postgres@Desarrollo-SDQ-VE:/opt/postgres/8.1/bin$ ./postgres -D /databases/postgresql/8.1/ve/ -c config_file=/etc/postgresql/8.1/ve/postgresql.conf [2012-11-13 10:42:22 AST:18359id] 2012-11-13 10:42:22 AST 2012-11-13 10:42:22.137 AST FATAL: database files are incompatible with server [2012-11-13 10:42:22 AST:18359id] 2012-11-13 10:42:22 AST 2012-11-13 10:42:22.138 AST DETAIL: The database cluster was initialized with HAVE_INT64_TIMESTAMP but the server was compiled without HAVE_INT64_TIMESTAMP. [2012-11-13 10:42:22 AST:18359id] 2012-11-13 10:42:22 AST 2012-11-13 10:42:22.138 AST HINT: It looks like you need to recompile or initdb.