Export script for triggers, actions and their link

SVN:trunk[273]
This commit is contained in:
Denis Flaven
2010-01-18 17:19:57 +00:00
parent f12b6d5c8a
commit ab13182910

View File

@@ -0,0 +1,12 @@
SET WEBROOT=http://localhost:81/
SET EXPORT=%WEBROOT%/webservices/export.php
SET USER=admin
SET PWD=test
REM The order (numbering) of the files is important since
REM it dictates the order to import them back
wget --output-document=23.triggers.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT Trigger&format=xml"
wget --output-document=24.actions.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT ActionEmail&format=xml"
wget --output-document=25.trigger-actions.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT lnkTriggerAction&format=xml"
pause