How to delete the name of a replica,

4906
13
Jump to solution
02-01-2013 01:48 AM
JamalNUMAN
Legendary Contributor
How to delete the name of a replica,

I???m wondering if these is a way to delete the name of replica create.

[ATTACH=CONFIG]21296[/ATTACH]

Thank you

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
1 Solution

Accepted Solutions
AnthonyGiles
Frequent Contributor
Jamal,

By right-clicking an individual replica, you bring up a context menu with the following options:

Rename???Renames the replica; type a new name and press ENTER.
Unregister???Unregisters the replica; if a synchronization version exists, it will also be removed.
View log???Opens the Replica Log; this option is only available for one-way and two-way replicas. The Replica Log is discussed in more detail below.
Refresh???Refreshes the replica; the latest state of the replica properties are displayed.
Validate schema???Validates the replica schema; a progress bar monitors the status of the validation. This automatically corrects a replica that contains invalid datasets. Datasets can become invalid if they have been renamed, deleted, or unversioned.
Properties???Opens the Replica Properties dialog box. Replica properties are discussed in more detail below.

Regards

Anthony

View solution in original post

0 Kudos
13 Replies
AnthonyGiles
Frequent Contributor
Jamal,

By right-clicking an individual replica, you bring up a context menu with the following options:

Rename???Renames the replica; type a new name and press ENTER.
Unregister???Unregisters the replica; if a synchronization version exists, it will also be removed.
View log???Opens the Replica Log; this option is only available for one-way and two-way replicas. The Replica Log is discussed in more detail below.
Refresh???Refreshes the replica; the latest state of the replica properties are displayed.
Validate schema???Validates the replica schema; a progress bar monitors the status of the validation. This automatically corrects a replica that contains invalid datasets. Datasets can become invalid if they have been renamed, deleted, or unversioned.
Properties???Opens the Replica Properties dialog box. Replica properties are discussed in more detail below.

Regards

Anthony
0 Kudos
JamalNUMAN
Legendary Contributor
Jamal,

By right-clicking an individual replica, you bring up a context menu with the following options:

Rename�??Renames the replica; type a new name and press ENTER.
Unregister�??Unregisters the replica; if a synchronization version exists, it will also be removed.
View log�??Opens the Replica Log; this option is only available for one-way and two-way replicas. The Replica Log is discussed in more detail below.
Refresh�??Refreshes the replica; the latest state of the replica properties are displayed.
Validate schema�??Validates the replica schema; a progress bar monitors the status of the validation. This automatically corrects a replica that contains invalid datasets. Datasets can become invalid if they have been renamed, deleted, or unversioned.
Properties�??Opens the Replica Properties dialog box. Replica properties are discussed in more detail below.

Regards

Anthony


Very much appreciated Anthony for the reply.

This means that the �??unregister�?� option is the one used to �??delete�?� replica from the database. Is that correct?

[ATTACH=CONFIG]21344[/ATTACH]

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
AnthonyGiles
Frequent Contributor
Yes that's correct,

Regards

Anthony
0 Kudos
JamalNUMAN
Legendary Contributor
Yes that's correct,

Regards

Anthony


Thanks!

best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
HelgePaul1
New Contributor II
Is it possible to do this with a Python Script?
Cause i want to delete a replica registration name in a batch job.

Thx.
Paul
JoeBorgione
MVP Emeritus
When you unregister a replica, be sure to do it on both ends; you need to 'cut the cord' between parent and child on the parent end and the local/ child end as well.
That should just about do it....
0 Kudos
JamalNUMAN
Legendary Contributor
When you unregister a replica, be sure to do it on both ends; you need to 'cut the cord' between parent and child on the parent end and the local/ child end as well.



Many thanks Joe. Good to know this point.

[ATTACH=CONFIG]25513[/ATTACH], [ATTACH=CONFIG]25514[/ATTACH]

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
HelgePaul1
New Contributor II
It is possible to do this with a python script?
Can you send me a sample?

Thx.
Paul
0 Kudos
WilliamCraft
MVP Regular Contributor
If you perform the unregister on the replica as the replica owner (user) it works cleanly.  If you do this as any other user (even as SDE) it may not get deleted entirely, requiring the use of SDE command line to delete sync send versions.  That's been my experience at least...
0 Kudos