Hi,

On Sat, 10 Nov 2001 18:28:08 +0100 (CET)
[EMAIL PROTECTED] wrote:

> Hi,
> 
> On Sat, 10 Nov 2001, Tarjei Huse wrote:
> > Is there functionality in rpligard to mode parts of sitegroups to other sg's?
> > I'm trying to move a snipeptdir from one sg and to another, without any big
> > success. 
> 
> No, not really. The xsg tool David created only works if you move object
> from a sitegroup on machine X to a different sitegroup on machine Y.

You can also do it on the same machine/database, because xsg refresh guids.

> The problem you are facing is that on import the GUIDS are allready
> present in your database.
> 
> > If not, it would be cool to be able to do this as it would make it easyer to
> > reuse code and post apps to be used with midgard :) (and I'll file a
> > featurerequest).
> 
> It would certainly be cool. I think you should go about it a bit like
> this:
> 
> - Export the objects you want to move.
> - Import the objects into a scratch database.
> - refresh the GUIDs in your scratch database
>   (repligard -r, or delete * from repligard and
>    repligard -m)
> - Export the objects from your scratch database,
> - Import the objects into you real database again,
>   to the sitegroup you want to have them in.

That's exactly what xsg does, except it cannot work on specific resources, but whole 
sitegroups only.
Maybe it could be enhanced to work on specific resource.

David

> wkr,
> 
> -- 
> Envida                     http://www.envida.net/
> Armand A. Verstappen       Graadt van Roggenweg 328
> [EMAIL PROTECTED]       3531 AH Utrecht
> tel: +31 (0)30 298 2255    Postbus 19127
> fax: +31 (0)30 298 2111    3501 DC Utrecht
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to