Bug 11 - duplicate_node.sh
Summary: duplicate_node.sh
Status: RESOLVED WONTFIX
Alias: None
Product: Slony-I
Classification: Unclassified
Component: other scripts (show other bugs)
Version: devel
Hardware: All All
: medium enhancement
Assignee: Slony Bugs List
URL:
Depends on:
Blocks:
 
Reported: 2007-11-13 13:08 UTC by Christopher Browne
Modified: 2010-08-13 14:08 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Browne 2007-11-13 13:08:12 UTC
Script to "duplicate node"; create a new node that looks just like an existing node, that is, with the same replication sets.

Overview:
   - Run slony1_extract_schema.sh against the origin node for the sets
     subscribed to; this gives an SQL script.

   - Generate slonik script to do:
     * STORE NODE for new node
     * STORE PATH to get the new node to communicate with the node it's
       duplicating
     * SUBSCRIBE SET for all the relevant sets
Comment 1 Jan Wieck 2010-08-13 14:08:39 UTC
This enhancement has been superseded by the implementation of CLONE NODE.