Hi Jochen,

On 24.02.01 (21:27), Jochen Lillich wrote:
> I also tried to use xsg, but it gives me errors even if
> started as "xsg -h".

| dilbert:~/xsg > xsg --help
| Sitegroup extractor (c) 2001 David Guerizec
| Usage:
| xsg/xsg [-f source.sql | -d database] [-s sitegroups] [-c alt. config. file]
|   -f source.sql       to export from a sql file
|   -d database         to export from a database
|   -s sgname           to specify a sitegroup name
|   -c config-file      to specify an alternate configuration file
| See also the file xsg.conf

> 1. I have a Midgard site in a sitegroup sharing a database
>    with other sites. I'd like to export this site(group) and
>    import it into its own new database.

If you just want to export one whole SG, that's no problem with
xsg. See above and in xsg.conf for details. For the re-import
it's important that you can't simply give repligard a sitegroup
name to import into but need to supply the right username
(including a login delimiter and a sitegroup, if necessary in
your setup) and password in repligard.conf.

Please be aware of a note that's quite 'hidden' in the repligard
documentation on http://www.midgard-project.org/ -- if you're
using your own 'links' (repligard terminology) between records
(an article.icon field pointing to a related article, for
example), you'll have to modify your repligard.xml definition
file in order to preserve those links during the migration!

     phr
-- 
Linksystem Muenchen GmbH                          [EMAIL PROTECTED]
Schloerstrasse 10                           http://www.link-m.de
80634 Muenchen                              Tel. 089 / 890 518-0
We make the Net work.                       Fax 089 / 890 518-77

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

Reply via email to