备份 

1. 找到progress 数据库所在的目录和数据库的名称。从window的开始出发, 开始->所有程序 -> OpenEdge Explorer -> Management Console 。  进入管理界面后, 看左侧树状菜单, 主机名 -> OpenEdge -> Database -> Epicor905 。 点击后,看右侧界面,Command and Control -> Control,点击进入,我们看到在Database Information 下面有Database Name。 在最后一个斜杠前面部分是数据库的路径,后面部分是数据库的名称。

2. 运行proenv,从window的开始出发, 开始->所有程序 -> OpenEdge 0.2 A -> Proenv, 执行命令 CD Path(这个path就是第一步得到的路径)。

3. 备份。进入数据库所在目录后,运行 probkup online mfgsys d:\backups\Live\LiveBkup.1 (msgsys就是第一步中得到的数据库名字, 而d:\backups\Live\LiveBkup.1就是你需要备份的文件的目录和名称)

 

恢复

1. 先停止服务,就是到 Start -> Programs -> OpenEdge Explore -> Management Console,按照顺序 EpicorPilot905 Process Server -> EpicorPilot905 task Agent -> Epicorpilot 905 依次把服务停下来,在到Database -> EpicorPilot,把数据库也停下来。如果没有这个操作,当你导入数据库时,系统总是报multi-user mode 这个错误。

 

2. Navigate to Start > Programs > OpenEdge 10.2a > ProEnv

3. Enter 'prompt' without quotes and press Enter

4. CD to the db folder where you want to restore the live database backup

For example: cd e:\epicor905\db\test

5. Run the following command and press Enter:

proutil mfgsys -C EnableLargeFiles

6. Run the restore command to restore the backup of your live database and press Enter:

For example: prorest mfgsys e:\backup\Epicor905LiveBackup.bkup

7. 来到pilot这个文件夹,我们看到在pilot这里,多出了mfgsys.b1, mfgsys.d1, mfgsys.db, mfgsys.lo, mfgsys.lic, mfgsys.st这几个文件 

 

导入其他数据库到系统

1. 上述步骤结束后,我们来到Epicor Software -> Epicor905-> pilot -> Pilot Epicor Schema Change。这个步骤是升级用户的数据库到我们的数据库,因为用户使用的是605,而我们使用的是701。密码是倒过来的小写changeschema。

2. 完成后,当点击Pilot Epicor, 要求输入用户名和密码。当我们使用manager/manager时,有错误提示Conversions need to be run。那么我们要想办法改变用户manage的密码。

3. 使用squirrel 进入数据库progress的数据库,改变用户manager的密码

     3.1) 添加数据源。从 控制面板 control pannel -> 管理工具 Administrative Tools -> 数据源(Data Source ODBC)。或者,可以调用 odbcad32.exe。 单击 用户 User DSN,系统 System DSN或文件 File DSN选项卡,然后单击“添加”。 单击Progress OpenEdge 10.2A Driver,然后单击完成。 完成创建到 progress 的新数据源向导中的步骤。

             在弹出框中,我们填入的数据如下:
             Data Source Name : EpicorPilot(自定义)
             Description : (自定义)
             HostName : 我们从OpenEdge Explore的Management Console中获得
             PortNumber: 从OpenEdge Explore的Management Console -> Database 中获得。注意:这是数据库的port, 不是appserver的port.
             DataName :  从OpenEdge Explore的Management Console -> Database 中获得。
             UserID : sysprogress(progress数据库的用户名)

Test Connect" 按钮, 看连接是否成功。

           3.2) 在squirrel 中新增一个Alias             

            

navigate导入sqlite数据库 navigate怎么导入数据库_navigate导入sqlite数据库

            Name 自定义, URL就是ODBC的名字, Username Password 就是progress 的用户名和密码

            

navigate导入sqlite数据库 navigate怎么导入数据库_navigate导入sqlite数据库_02

            运行update pub.UserFile set password = '' where DcdUserID = 'manager'。


转载于:https://blog.51cto.com/3154408/1173377