OA办公系统最主要的升级是将数据库从Firebird2.5.5升级到Firebird3.0,这个 系统升级还是非常重要的,新版本的数据库性能大幅提升。
一、系统升级的准备
从我们的官方网站下载OA办公系统4.01版
在系统服务中停止Tocmat8 goofficeweb服务
备份:
1.备份数据库,假设系统安装在d:\gooffice目录 则在命令行的d:\gooffice\firebird\bin下面执行:
gbak -b -user "sysdba" -password "masterkey" "d:\gooffice\data\database\goofficedb.fdb" d:\goofficedb2.bak
在系统服务中停止 Firebird Server - goofficeweb服务
2.备份相关文件,目录为d:\gooffice\data
d:\gooffice\htmodel
d:\gooffice\webroot\gooffice\uploadfile
二、卸载旧版的OA办公系统4.00版,删除d:\gooffice 目录。
三、安装新版OA办公系统4.01版。完成后登录系统看是否正常。如果正常则
停止服务:系统服务中停Tocmat8 goofficeweb服务
四、还原数据
1.还原备份文件 目录为d:\gooffice\data
d:\gooffice\htmodel
d:\gooffice\webroot\gooffice\uploadfile
要删除d:\gooffice\data\database\goofficedb.fdb 这个数据库文件
2.还原数据库
新版的firebird目录有此变化,假设系统安装在d:\gooffice目录 则在命令行的d:\gooffice\firebird下面执行:
gbak -c -user "sysdba" -password "masterkey" d:\goofficedb2.bak "d:\gooffice\data\database\goofficedb.fdb"
五、启动服务
系统服务中启动Tocmat8 goofficeweb服务
六、登录系统
如果成功登录系统说明系统升级成功
备注:
备份和还原数据库用到的密码并不是"masterkey",为了安全OA办公系统在安装时已经修改为随机密码,同我们联系免费帮您找到系统升级密码,我们也不知道具体的密码。