Hi,

I have started using midgard a while ago and i'm
running across some replication problems.

I have used the downgrade_unapproved.pl and found it
is not usefull for downgrading anything but unapproved
pages. 

Right now I have started to look at YAMP and use its
remove_unapproved.pl script to remove any unapproved
data from the exported xml data. 

IMHO YAMP uses a better concept leaving the db as is,
and altering the exported data.

my replication script looks more or less like this:

###
repligard -m -c
/var/lib/aegir/etc/repligard_hourly_dump_staging.conf
\
 -e /tmp/hourly_export_${THISDATE}.xml.gz

gunzip /tmp/hourly_export_${THISDATE}.xml.gz

./remove_unapproved.pl -r
/tmp/hourly_export_${THISDATE}.xml

gzip /tmp/hourly_export_${THISDATE}.xml.cleaned

repligard -c
/var/lib/aegir/etc/repligard_hourly_import_live.conf \
    -i /tmp/hourly_export_${THISDATE}.xml.cleaned.gz
###

The remove_unapproved script seems to work fine on
pages and articles but isn't working style and style
elements.

I use repligard's -m option ("Create GUID information
for all resources").

-- Has anyone a clue, what I should do to make the
script work for styles, the xml contains both the
<record extension> and the <element> elements.

-- Is there a way to approve topics in the same manner
as articles?

Thanks

Richard Duim

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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

Reply via email to