Error: database type '' not known

Good Morning,


I’m trying to back up our Matrix 3.18rc1 Database before upgrading to RC2.



I’m on RHEL5.1



My error is:

[font=“Courier New”]root@cms matrix# ./scripts/backup.sh

ERROR: DATABASE TYPE ‘’ NOT KNOWN

[/font]



Now I know in the past this has been dependent on the PHP version:

[font=“Courier New”]root@cms matrix# php -v

PHP 5.1.6 (cli) (built: Sep 12 2007 11:10:42)

Copyright © 1997-2006 The PHP Group

Zend Engine v2.1.0, Copyright © 1998-2006 Zend Technologies

[/font]



I looked at the script and the the php_cli support certainly seems to be in there…



Any ideas?

What database type are you using?

I'm using postgres 8.1.11

[font=“Courier New”] postgres --version

postgres (PostgreSQL) 8.1.11

[/font]

Turns out backup.sh has not been converted over to the new DB abstraction layer yet. You'll need to do a manual dump using pg_dump and then tar your Matrix dir.