Index: temp/trunk/html/admin/system/bkup.php
===================================================================
--- temp/trunk/html/admin/system/bkup.php	(revision 5796)
+++ temp/trunk/html/admin/system/bkup.php	(revision 5797)
@@ -279,6 +279,12 @@
 	$ret = "";
 	
+	if(DB_TYPE == "pgsql"){
+		$match = "auto_increment";
+	}else if(DB_TYPE == "mysql"){
+		$match = 'nextval(\'';
+	}
+
 	foreach($arrColList['col_def'] as $key => $val){
-		if (substr($val,0,9) == 'nextval(\'') {
+		if (substr($val,0,9) == $match) {
 			$col = $arrColList['col_name'][$key];
 			$autoVal = lfGetAutoIncrementVal($table_name, $col);
@@ -332,6 +338,4 @@
 		$ret = $arrData['Auto_increment'];
 	}
-	
-	sfprintr($ret);
 	return $ret;
 }
