On Mon, Jan 28, 2002 at 03:00:35PM +0100, James R. Ullman wrote:
> Thanks Alexander.
> 
> 1. Created a new company
> 
> 2. Created a website for that company, with new SG admin user
> 
> 3. Found the GUID for that new SG
>    I used:
>    phpmyadmin -> table repligard (select> -> realm - sitegroup
>    Only 1 SG viewable, (newly installed system).
>    Found this : ee770b0f4fe7b454804cf192889e5a6b (SG1)
> 
> 4. In the file to import,
>    grep sitegroup import.xml - Found 00d899bdc32a9ad4eb5c2df9d2b10589
> 
> 5. Replaced ALL GUID's in import.xml that have
>    00d899bdc32a9ad4eb5c2df9d2b10589 with ee770b0f4fe7b454804cf192889e5a6b
> 
> 
> 6. repligard -d -d -c /somedir/import.conf -i import.xml
>    as admin*SG1_Name in import.conf
>    Import went fine. Imported hosts ended up SG1
> 
> Should be an easier way to do this in the future, but I'm happy for now.
> 
> Maybe a command line option to replace import.xml SG GUID's &
> attachment...etc on the fly with new SG GUID ?
I'll think about general transformation rules.
-- 
/ Alexander Bokovoy
Software architect and analyst             // SaM-Solutions Ltd.
---
Nov 21 20:58:58 alconost kernel: VFS: Busy inodes after unmount. 
                    Self-destruct in 5 seconds.  Have a nice day...

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

Reply via email to