Oracle Audio Technologies B31679-01 manual On the source system, On the destination system

Models: B31679-01

1 130
Download 130 pages 38.83 Kb
Page 107
Image 107
On the source system

Note: Before moving a replicated data store to another machine, you should be experienced with TimesTen replication. We highly advise calling TimesTen customer support for help with this procedure.

To copy a data store from one system to another with the same CPU architecture and operating system:

1.Back up the data store on the original system using ttBackup.

2.Move the backup to the new system.

3.Reconfigure the replication scheme on any replicated data stores to identify the new host machine. (See TimesTen to TimesTen Replication Guide for details on how to specify a host in a replication scheme.)

4.Restore the backup using ttRestore.

For example, to move a data store from /ds/Sales/Data with data store name salesdata on the source system to /data/Sales/View with data store name salesview on the destination system, use the following commands. This example uses the -oflag of ttBackup to use standard output for the backup. Using the -oflag, the backup is stored in a single file, which is easily copied over the network to the other system. Once you have copied the data store to the other system, you need to create a data source name for convenient access to the new data store copy.

On the source system

On the destination system

1.ttBackup -o "DSN=SalesData" > /tmp/salesbackup

2.ftp /tmp/salesbackup to the

 

destination system as

 

/tmp/salesbackup

 

Note: Use the ftp command in binary

 

mode.

 

 

3.

ttRestore -i

 

"DSN=SalesView" <

 

/tmp/salesbackup

4.

rm /tmp/salesbackup

5.rm /tmp/salesbackup

Data Store Upgrades 99

Page 107
Image 107
Oracle Audio Technologies B31679-01 manual On the source system, On the destination system