Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Forums > Questions

Automated xml backup



AuthorMessage
chr.ver

Posted: Mar 15, 2012
Score: 0



Hi,

I'm trying to automate my backup process.

Starting from this link with code attached below
and this link

I brew something like:
curl --output /dev/null --form 'email=EMAIL' --form 'pass=PASS' --form 'remember=1' --cookie-jar ${root}/cookies.txt https://www.toodledo.com/signin.php
curl -O https://www.toodledo.com/tools/backup.php

Basically I replaced in the older scripts (< mid 2011) the url of the xml location (from toodledo.com/xml.php to toodledo.com/tools/backup.php.

Nevertheless it's not working ... cookies.txt is nicely stored and also the second command is executed, with headers returned that indicate the xml file attached, but the file itself is never saved ... Does anyone understand what to change here?

Suggestion to Toodledo: Provide a few easy script lines for us to have an automated retrieval. Maybe put a restriction on retrieval per day in order to protect your server load.

Regards,
Christoph



<CODE>
wget -O /dev/null --quiet --no-check-certificate --save-cookies cookies.txt --post-data 'email=you@email.com&pass=xxxxxxxx' https://www.toodledo.com/signin.php
wget --quiet --load-cookies cookies.txt http://www.toodledo.com/xml.php
</CODE>
ben

Posted: Mar 16, 2012
Score: 0



I was looking at this and just never completed; Did you also look at this thread linked below, there may be some useful info in there that is newer...

http://www.toodledo.com/forums/3/12031/0/backups-using-wget-on-windows.html

-Ben
You cannot reply yet


To participate in these forums, you must be signed in.



Toodledo Forums > Questions