Humm. Well, ain't sure why I ended up using --password instead of
--http-user. But in any case even with the correct attribute wget still
hangs.

So I decided to use the backup page instead of the export page and it seems
to do the job for me (then I just make sure that my scheduled backup the
bootstrap directory).

wget --user=superuser --password=passowrd --no-check-certificate  -O
/var/magnolia/bootstrap/website.xml
"https://localhost/cms/.magnolia/pages/developmentUtils?command=backup&templ
ates=on&paragraphs=on&dialogs=on&website=on&users=on&groups=on&roles=on&secu
re=on&rootdir=WEB-INF%2Fbootstrap%2Fcommon"

Christian


> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] 
> Sent: March 5, 2007 16:22
> To: [email protected]
> Subject: Re: [magnolia-user] Wget to backup content not working.
> 
> From the wget man page:
> 
>  --http-user=user
>  --http-passwd=password
>            Specify the username user and password password on 
> an HTTP server.
>            According to the type of the challenge, Wget will 
> encode them using
>            either the "basic" (insecure) or the "digest" 
> authentication
>            scheme.
> 
> Can you verify your variety of wget actually uses --user and 
> --password instead?  wget might be waiting for login from std in.
> 
> --David
> 
> Christian Sylvestre wrote:
> > There is nothing, no information in any log file.
> >
> > As for still running. Well actually there was more then one request 
> > running since the command is scheduled with a crontab and 
> it has been 
> > launched on Friday, Saturday and Sunday night. So actually 
> some of the 
> > backup request have been running since Friday at midnight.
> >
> > So there is, without a doubt, some kind of problem.... And 
> just ain't 
> > sure on where to look for the source of the problem...
> >
> > Christian
> >
> >   
> >> -----Original Message-----
> >> From: [email protected] [mailto:[EMAIL PROTECTED]
> >> Sent: March 5, 2007 16:00
> >> To: [email protected]
> >> Subject: Re: [magnolia-user] Wget to backup content not working.
> >>
> >> Are you sure it's still running the backup?  12 hours is 
> IMHO waaaay 
> >> to long.  I'd check the contents of the export file and 
> the magnolia 
> >> logs to be sure it didn't die somewhere along the way and 
> wget didn't 
> >> just hang.
> >>
> >> --David
> >>
> >> Christian Sylvestre wrote:
> >>     
> >>>  
> >>> Hi all.
> >>>
> >>> I scheduled a backup of my website content with the export
> >>>       
> >> page using
> >>     
> >>> the command listed below. However after running for more
> >>>       
> >> then 12 hours
> >>     
> >>> the backup is still not completed... If I actually starts
> >>>       
> >> the backup
> >>     
> >>> from the AdminCentral web interface I have no problems.
> >>>
> >>> Anybody has any idea what could make the request through
> >>>       
> >> wget be sooo
> >>     
> >>> slow (I even tried it with Lynx and it works...).
> >>>
> >>> Thanks,
> >>>
> >>> Christian
> >>>
> >>> wget --user=superuser --password=myPWord 
> --no-check-certificate  -O 
> >>> /var/magnolia/bootstrap/website.xml
> >>>
> >>>       
> >> 
> "https://localhost/.magnolia/pages/export.html?mgnlRepository=website
> >> &
> >>     
> >>> mgnlPa
> >>>
> >>>       
> >> 
> th=/&mgnlKeepVersions=false&mgnlFormat=true&ext=.xml&exportxml=Export
> >> &
> >>     
> >>> comman
> >>> d=exportxml"  
> >>>  
> >>> christian sylvestre
> >>>
> >>>
> >>>       
> 
> 
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia.info/en/developer.html
> ----------------------------------------------------------------
> 


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to