how to restore Caché database to another server

hi

   I backup  one database and restore it to antoher  new Caché server with ^DBREST, but I cannot view this db in the portal, why?

If I need some more operation?

Vote up!
Vote down!

Rating: 0

Comments: 3 Views: 130

2 answers

Answer

it is not enough for the restored database to be colocated with the Caché instance on the target server. the new database must be configured within Caché.

  1. in the management portal on the target system, select System Administration > Configuration > System Configuration > Local Databases.
  2. on the Local Databases page, click the Create New Database button.
  3. on the first panel of the Database Wizard, enter a name for the new database and the local path to the database you restored to this host, and click Next.
  4. the next panel says:
    Database file, CACHE.DAT, already exists in directory. If you do not want to use it, please press the [Back] button and modify the Directory.
  5. click Finish to configure the database. other than the name, the characteristics of the source database you backed up are carried over to the newly configured database on the target system.

 

 

Vote up!
Vote down!

Rating: 1

Thanks!

Vote up!
Vote down!

Rating: 0

Answer

Restoration database from the backup is only to restore database file CACHE.DAT. If you want to see this new database on that server, you should configure this server.

Vote up!
Vote down!

Rating: 1

thanks for your answer!    But how to config? I find nothing about this in the backup/restore documentation.

Could you tell me ho to do this or the documentation link about this?  And can I use script  to do this config?

 

 

thanks!

Vote up!
Vote down!

Rating: 0

Why do you think it should be in this part of the documentation. It usual procedure. Almost everything possible to do programmatically, so, you can write a script for it. And there are lots of ways ho to do it. As for me, I think the bast way is to use Installer manifest.

Vote up!
Vote down!

Rating: 1

Log in to answer