Database Created Before Duplication
If you connected to your new subscriber DSN before running ttRepAdmin
-duplicate
, the database has already been created. In this situation, -duplicate
returns:
Error : Restore not done : The datastore already exists. Unable to restore datastore locally
Confirm the existence of the database by running ttStatus
and checking to see if the database is in the returned list. If the new subscriber database exists, destroy it and try ttRepAdmin
-duplicate
again.
> ttDestroy /tmp/newstore > ttRepAdmin -dsn newstoreDSN -duplicate -name newstore -from masterds -host "server1"