Hi James, I was about to post the same solution, I tried adding exportxml=Export too and it worked. Thanks!
Jorge Mensaje citado por James Reynolds <[email protected]>: > I'm working on the same thing. It looks like you need to add > &exportxml=Export > > http://localhost/.magnolia/mgnl-export? > mgnlRepository=website&mgnlPath=/&exportxml=Export > > I updated the wiki, thinking that this is right (but not knowing 100%) > > http://www.magnolia.info/wiki/Wiki.jsp?page=RepositoryBackupAndRestore > > James Reynolds > > On Jun 9, 2006, at 5:28 AM, jorgecab wrote: > > > Hi, I wanted to make an export-import in Magnolia using the mgnl- > > export and > > mgnl-input scripts and following the guide that I found in > > magnolia's site > > wiki. If I use the script on a web browser (firefox) it works ok > > but I want to > > do it command based to set a cron or something so I tried with curl > > and wget as > > the wiki explains but the result I get is the initial form page. > > The command I > > execute is: > > > > wget --http-user=MYSUPERUSER --http-password=MYPASSWORD -O backup.xml > > http://localhost/.magnolia/mgnl-export? > > mgnlRepository=website&mgnlPath=/ > > > > also tried: > > > > wget --http-user=MYSUPERUSER --http-passwd=MYPASSWORD -O backup.xml > > http://localhost/.magnolia/mgnl-export? > > mgnlRepository=website&mgnlPath=/ > > &mgnlKeepVersions=false&mgnlFormat=false > > > > Am I doing something wrong? Has someone done this before? > > > > Thanks for the help > > > > Jorge > > > > ---------------------------------------------------------------- > > This message was sent using IMP, the Internet Messaging Program. > > > > > > ---------------------------------------------------------------- > > for list details see > > http://www.magnolia.info/en/magnolia/developer.html > > ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > for list details see > http://www.magnolia.info/en/magnolia/developer.html > ---------------------------------------------------------------- > -- d-_-b \|/ 0-0 ---oOo-(_)-oOo--- ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
