databases resync-replica
Re-syncs the specified replica database server with its master database server. From time-to-time your replica database may go out of sync with its master. This action attempts to re-sync your specified replica server. This can happen depending on many factors (such as DB size, frequency of change, networking between servers etc).
The server provided must have already been configured as a replication replica via the Cloud 66 UI. Providing the database type is optional and is only necessary for shared servers where we can’t automatically determine the target database type.
Options
Argument | Required? | Default | Description |
---|---|---|---|
--stack, -s <application name> | yes | — | Name of your application |
<replica server name> | yes | — | Name of replica server to be resynced with master |
--dbtype <database type> | no | — | The database type (mysql ,postgresql ) |