ForumsQuestionsAutomated Backup using wget on Windows


Automated Backup using wget on Windows
Author Message
mike_1413144459

Posted: Oct 20, 2014
Score: 0 Reference
Hi

Ive tried setting up an automated backup as per the thread here

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

This uses these commands

wget -O \toodle --no-check-certificate --keep-session-cookies --save-cookies cookies.txt --post-data 'email=user^&pass=pass' https://www.toodledo.com/signin.php

wget --no-check-certificate --load-cookies cookies.txt --keep-session-cookies -O \toodle\%mydate%_toodledo.xml http://www.toodledo.com/tools/xml.php

As per the original post, I end up with a file containing the main screen php code and an export file with 0 bytes, even though it seems to complete OK. It was suggested to use '--keep-session-cookies' but this doesnt solve the problem and indeed the cookie remains empty which suggests that the session code is not written to the cookie file and so it cant then retireve the xml backup.

Any thoughts at all??

thanks

mike
You cannot reply yet

U Back to topic home

R Post a reply

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